Skip to content

Commit

Permalink
Merge pull request #62 from srna/master
Browse files Browse the repository at this point in the history
Use utf8 character set as default
  • Loading branch information
josegonzalez committed Oct 28, 2016
2 parents 85ceaee + e979c8d commit c5d43ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c5d43ee

Please sign in to comment.