Created
January 3, 2023 00:58
-
-
Save denihida1216/59c3a0cd957867cc9107e27b8b6f2112 to your computer and use it in GitHub Desktop.
Mysql Error - Laragon 4.0.16 & MySQL 8.0.18 - MySQL cannot start
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
Delete largon/data/mysql-8 | |
cd to laragon/bin/mysql8.0.0.x/bin folder via cmder (important for step 3) | |
run 'mysqld --initialize --console' (remember the password) | |
run 'start mysqld' | |
run 'mysql -u root -p' | |
put in the password from 3. | |
You are now in mysql shell and can remove the password again: "ALTER USER 'root'@'localhost' IDENTIFIED BY '';" | |
run 'exit' and ctrl + c the spawned tab from step 4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment