Skip to content

Instantly share code, notes, and snippets.

@ergin
Created May 11, 2018 22:09
Show Gist options
  • Save ergin/b4d5a614e205a85c977acd853f7f2221 to your computer and use it in GitHub Desktop.
Save ergin/b4d5a614e205a85c977acd853f7f2221 to your computer and use it in GitHub Desktop.
Creates a docker MySQL8 (version 8.0.11) container with native mysql password Authentication mechanism.
docker run --name mysql8 -e MYSQL_ROOT_PASSWORD=123456 -p 3306:3306 -d mysql:8.0.11 --default-authentication-plugin=mysql_native_password
@ergin
Copy link
Author

ergin commented May 11, 2018

An easy way to skip "Authentication plugin 'caching_sha2_password' cannot be loaded: The specified module could not be found." error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment