diff --git a/docker/mariadb/Dockerfile b/docker/mariadb/Dockerfile index 20afa74..68358b6 100644 --- a/docker/mariadb/Dockerfile +++ b/docker/mariadb/Dockerfile @@ -1,6 +1,6 @@ FROM mariadb:10.0 -COPY mariadb.cnf /etc/mysql/conf.d +COPY custom.cnf /etc/mysql/conf.d/ ENTRYPOINT ["docker-entrypoint.sh"] CMD ["mysqld"] diff --git a/docker/mariadb/custom.cnf b/docker/mariadb/custom.cnf new file mode 100644 index 0000000..0cf5418 --- /dev/null +++ b/docker/mariadb/custom.cnf @@ -0,0 +1,9 @@ +[mysql] +default-character-set = utf8 + +[mysqld] +character-set-server = utf8 +collation-server = utf8_general_ci + +[client] +default-character-set = utf8 diff --git a/docker/mariadb/mariadb.cnf b/docker/mariadb/mariadb.cnf deleted file mode 100644 index e69de29..0000000