Solution for: https://laragon.org
If you are setting up MySQL v8.x for the first time for Laragon, you will see that MySQL failed to load and asking for an upgrade the MySQL. Although showing user table not found, plugins table not found errors, etc.
To fix the problem, follow the steps accordingly.
- Delete Laragon MySQL
datadirectory. If you have already existeddatabases, make sure toexportfirst. Location path example:C:\laragon\datawhere the folder containsmysql-8. Delete themysql-8folder. You can also delete themysqlfolder if not needed. - Access to the MySQL BIN folder or add the MySQL BIN folder to the windows system environment path. Location example:
C:\laragon\bin\mysql\mysql-8.0.27-winx64\bin. Open a terminal or navigate the location from Laragon's built-in terminal.