From caa707cd95194400204eaa1f86a93e8515800a64 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 6 May 2015 14:55:48 +0100 Subject: [PATCH] Update entrypoint.sh TEST BEFORE MERGE Fixes #6 --- etherpad-lite/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etherpad-lite/entrypoint.sh b/etherpad-lite/entrypoint.sh index 02d2adc..7f2a065 100755 --- a/etherpad-lite/entrypoint.sh +++ b/etherpad-lite/entrypoint.sh @@ -40,6 +40,10 @@ if [ "$RESULT" != $ETHERPAD_DB_NAME ]; then mysql -u${ETHERPAD_DB_USER} -p${ETHERPAD_DB_PASSWORD} -hmysql \ -e "create database ${ETHERPAD_DB_NAME}" + + mysql -u${ETHERPAD_DB_USER} -p${ETHERPAD_DB_PASSWORD} -hmysql \ + -e "ALTER DATABASE `${ETHERPAD_DB_NAME}` CHARACTER SET utf8 COLLATE utf8_bin;" + fi if [ ! -f settings.json ]; then