Created
September 15, 2022 11:13
-
-
Save eskayamadeus/49b723f85367fab5e4f4005ff7e97de6 to your computer and use it in GitHub Desktop.
I had an issue where I had installed a new version of mysql, namely 8.0.30, in Laragon using the .zip community version. But then I couldn't do anything because it was throwing "access denied for root@localhost"
This file contains 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
1. Go to C:\laragon\bin\mysql\mysql-8.0.30-winx64 | |
2. Execute bin\mysqld.exe --initialize-insecure --console | |
[ | |
initialize-insecure => creates root user without password | |
console => outputs information to current terminal. without it, they may end up in mysqld.log | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment