Фикс для кодировки в mariadb

This commit is contained in:
ErickSkrauch 2016-10-25 15:51:01 +03:00
parent cfd8ba95ef
commit 7315ddc4ea
3 changed files with 10 additions and 1 deletions

View File

@ -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"]

View File

@ -0,0 +1,9 @@
[mysql]
default-character-set = utf8
[mysqld]
character-set-server = utf8
collation-server = utf8_general_ci
[client]
default-character-set = utf8