- Published on
How to change character set and collation setting MariaDB/MySQL Docker?
- Authors
- Name
- ansidev
- @ansidev
How to change character set and collation setting MariaDB/MySQL Docker?
FROM mariadb
RUN { \
echo '[mysqld]'; \
echo 'character-set-server=utf8mb4'; \
echo 'collation-server=utf8mb4_unicode_ci'; \
} > /etc/mysql/conf.d/charset.cnf