Hi everyone i had mysql server running on 3306. I uninstalled that completely and installed XAMPP. Mysql was not running at the beginning, then I changed the port to 3307 in
I faced the same issue as well. Quite irritating though, wasted a hell lot of time of figuring this out. My problem was I noticed that when my XAMPP started the port number seen on the XAMPP control panel for MySQL was 3307, but in the MySQL configuration files it was 3306!!. There was no use of making changes in configuration files, re-installing!.. So, all I did was opened the Windows Task manager found the mysql process running, ended the process and restarted the MySQL from XAMPP control panel and finally it worked!! Seems like some other application was listening on port number 3307 for me and got conflicted. :P