Skip to content

Commit

Permalink
latin1 で INSERT される場合があるのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Oct 15, 2021
1 parent 1cf820f commit 821e25c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eccube_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,9 @@ case "${DBTYPE}" in
cat - ${SQL_DIR}/create_table_mysqli.sql |
${MYSQL} -h ${DBSERVER} -u ${DBUSER} -h ${DBSERVER} -P ${DBPORT} ${PASSOPT} ${DBNAME}
echo "insert data..."
${MYSQL} -u ${DBUSER} -h ${DBSERVER} -P ${DBPORT} ${PASSOPT} ${DBNAME} < ${SQL_DIR}/insert_data.sql
echo "SET CHARACTER SET 'utf8';" |
cat - ${SQL_DIR}/insert_data.sql |
${MYSQL} -u ${DBUSER} -h ${DBSERVER} -P ${DBPORT} ${PASSOPT} ${DBNAME}
echo "create sequence table..."
create_sequence_tables
echo "execute optional SQL..."
Expand Down

0 comments on commit 821e25c

Please sign in to comment.