MySQL Workbench cant connect after installing Laragon
MySQL Workbench can't connect to MySQL. If i run "mysql -u root -p -h 127.0.0.1 -P 3306" in windows CMD i get an error ('mysql' is not recognized as an internal or external command...) but if i run it in Cmder it works fine. This started after i installed laragon.
Added "Add Laragon to User's Path" & "Remove Laragon from User's Path": https://forum.laragon.org/topic/353/merge-path-defined-by-laragon-and-windows-automatically-or-easily:
Click Menu > Tools> PATH environment variable..., You'll see a Menu on the top right.
@Mocking-Bird... tried it but didn't work... this is the error i get.
still need help
@niilighter: Let's me check. What was your former version?
@leokhoa.... if you are asking former version of laragon then it started when i first installed laragon months ago but just ignored it cos i could phpmyadmin but now i want get back to using it
You can try extract this zip file to data\mysql\performance_schema
Btw, I suggest you to use HeidiSQL:
@leokhoa... i extracted the zip file you attached into the specified folder and also downloaded HeidiSQL but still have the same issues with it.
@niilighter: I don't know the root cause because you are the only one have the issue.
So, I suggest you to:
- Dump your current database
- Rename data dir to data-bak
- Re-install Laragon.
- Restore from your dump.