Browse Source

chore: add cmd to show how to change charset and collation for mysql

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1326/head
Wing-Kam Wong 3 years ago
parent
commit
a9481ddadb
  1. 3
      docker-compose/mysql/docker-compose.yml

3
docker-compose/mysql/docker-compose.yml

@ -6,6 +6,9 @@ services:
volumes:
- db_data:/var/lib/mysql
- nc_data:/usr/app/data
# below line shows how to change charset and collation
# uncomment it if necessary
# command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
restart: always
environment:
MYSQL_ROOT_PASSWORD: password

Loading…
Cancel
Save