Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sudo docker run --name mysql --network {네트워크} \
-e MYSQL_DATABASE=database \
-e MYSQL_USER=database \
-e MYSQL_PASSWORD=database \
-e MYSQL_RANDOM_ROOT_PASSWORD=yes \
--mount type=bind,source=/home/ubuntu/mysql,target=/var/lib/mysql \
mysql:5.7 \
--character-set-server=utf8mb4 \
--collation-server=utf8mb4_unicode_ci \
--innodb-ft-min-token-size=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.