Error No. 1045 : While trying to connect to MySql

Suhail Gupta picture Suhail Gupta · Jan 7, 2013 · Viewed 21k times · Source

I installed SQLYog Community edition for windows, a GUI tool for MySql. I had earlier installed MySql with XAMPP. Now when I am trying to connect , I see an error (as pointed):

enter image description here

What could be the reason, I am getting this ? How do I connect to MySql and start using this GUI tool ?

Answer

Y.E.P picture Y.E.P · Jan 10, 2013

The message says access denied for suhail @localhost . These could be the issues :

  • The user suhail does not exist at locahost.
  • The password specified is wrong.
  • MySql Server is not started. If it is started the port number is not 3306.

These are some of the troubleshoot techniques.

Also follow the comments on your question.