SQL Error (2003): Can't connect to MySQL server on 'localhost' (10061)

Hi all,

I have added my external IP address via cPanel in order to be able to access my online MySQL server and using HeidiSQL client I'm trying to connect to it but I'm getting this error:

SQL Error (2003): Can't connect to MySQL server on 'localhost' (10061)

I'm using TCP IP to connect.

Any ideas anyone please?

Thanks
error77Asked:
Who is Participating?
 
johanntagleConnect With a Mentor Commented:
"Can't connect to MySQL server on 'localhost'" means you are trying to connect to a MySQL server on your local machine.  Check the connection parameters on your HeidiSQL client.
0
 
Chakravarthi AyyalaDatabase AdministratorCommented:
Did you check whether mysql service is running?
0
 
error77Author Commented:
Getting same error when checked localhost to point to external host
0
 
johanntagleCommented:
What do you mean "checked localhost to point to external host"?  Did you mean checked->changed?  Can you take a screen capture of your HeidiSQL configuration?
0
 
error77Author Commented:
Sorted. Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.