From e979c8d414af85d6ff3ddfe84ecc3b333a2e7b16 Mon Sep 17 00:00:00 2001 From: Tomas Srna Date: Mon, 10 Oct 2016 11:41:14 +0200 Subject: [PATCH] Use utf8 character set as default --- functions | 1 + 1 file changed, 1 insertion(+) diff --git a/functions b/functions index a1b31d2..6f1e907 100755 --- a/functions +++ b/functions @@ -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"