1. Stop Laragon.
2. Remove all files and folders from mysql-8 in laragon -> data -> mysql-8.
3. Open terminal and go to this directory: laragon -> bin -> mysql -> mysql-8 -> bin
4. Run this command: mysqld --initialize --console
5. Run this command: start mysqld
6. Enter in to mysql: mysql -u root -p
7. Password has given in step 42
8. Run this command: ALTER USER 'root'@'localhost' IDENTIFIED BY '';
9. Close mysqld window and start laragon.
Enjoy mysql 8 in laragon!
No comments:
Post a Comment