Skip to content

Instantly share code, notes, and snippets.

@omerkoseoglu
Created October 26, 2020 19:20
Show Gist options
  • Save omerkoseoglu/7d2c8cfc9e0960d8b9849d8fa750b38a to your computer and use it in GitHub Desktop.
Save omerkoseoglu/7d2c8cfc9e0960d8b9849d8fa750b38a to your computer and use it in GitHub Desktop.
Docker Mysql Native Password
docker run --restart always --name mysql8.0 --net dev-network -v /Users/omer/Docker/mysql/data/8.0:/var/lib/mysql -p 3306:3306 -d -e MYSQL_ROOT_PASSWORD=xxxxxxxx mysql:8.0 --default-authentication-plugin=mysql_native_password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment