Changeset 23547


Ignore:
Timestamp:
2014/06/13 13:39:58 (7 years ago)
Author:
shutta
Message:

#1980 インストールシェルの2.12対応
MySQLでのテーブル作成時にストレージエンジンを設定するように修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/eccube_install.sh

    r23545 r23547  
    169169    #${MYSQL} -u ${ROOTUSER} ${PASSOPT} -e "GRANT ALL ON \`${DBNAME}\`.* TO '${DBUSER}'@'%' IDENTIFIED BY '${DBPASS}'" 
    170170    echo "create table..." 
    171     ${MYSQL} -u ${DBUSER} ${PASSOPT} ${DBNAME} < ${SQL_DIR}/create_table_mysql.sql 
     171    echo "SET SESSION storage_engine = InnoDB;" | 
     172        cat - ${SQL_DIR}/create_table_mysql.sql | 
     173        ${MYSQL} -u ${DBUSER} ${PASSOPT} ${DBNAME} 
    172174    echo "insert data..." 
    173175    ${MYSQL} -u ${DBUSER} ${PASSOPT} ${DBNAME} < ${SQL_DIR}/insert_data.sql 
Note: See TracChangeset for help on using the changeset viewer.