Merge pull request #62 from srna/master

Use utf8 character set as default
This commit is contained in:
Jose Diaz-Gonzalez
2016-10-28 13:37:21 -06:00
committed by GitHub

View File

@@ -24,6 +24,7 @@ service_create() {
mkdir -p "$SERVICE_ROOT/config" || dokku_log_fail "Unable to create service config directory"
touch "$LINKS_FILE"
echo -e "[mysqld]\nperformance_schema = 0" > "$SERVICE_ROOT/config/disable_performance_schema.cnf"
echo -e "[mysqld]\ncharacter-set-server = utf8\ncollation-server = utf8_general_ci" > "$SERVICE_ROOT/config/charset_utf8.cnf"
rootpassword=$(openssl rand -hex 8)
password=$(openssl rand -hex 8)
echo "$rootpassword" > "$SERVICE_ROOT/ROOTPASSWORD"