Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Set default encoding to utf8mb4
Browse files Browse the repository at this point in the history
  • Loading branch information
PinLin committed Jan 6, 2019
1 parent 72171ae commit c9f2d29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ services:
volumes:
- ./mysql:/var/lib/mysql
- ./server/sql/action.sql:/docker-entrypoint-initdb.d/action.sql
command: ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_USER: shopkeeper
Expand Down

0 comments on commit c9f2d29

Please sign in to comment.