Created
February 1, 2020 16:00
-
-
Save 5SMNOONMS5/ed64b0cc9be6c44a65a25385bd9766d7 to your computer and use it in GitHub Desktop.
Markdium-Laradock 下開發遇到 Authentication plugin ‘caching_sha2_password’ cannot be loaded
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 進入 mysql container,(我的 container 叫 mysql 也許你的不一樣) | |
docker-compose exec mysql bash | |
# Login into mysql | |
mysql -u root -p | |
# Change encryption of the current user's password | |
ALTER USER 'yourusername'@'localhost' IDENTIFIED WITH mysql_native_password BY 'youpassword'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment