Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eskayamadeus/49b723f85367fab5e4f4005ff7e97de6 to your computer and use it in GitHub Desktop.
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"
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