I'm trying to connect to the MySQL server that came with WAMPServer locally using SQLYog, but it gives me this error:
Error No. 2003
Can't connect to MySQL server on 'localhost' (10061)
However, phpmyadmin works just fine, and mysql_connect()
works fine with the WAMP's default login details:
hostname: localhost
username: root
password: empty
The server's on, why can't I connect to localhost on SQLYog with root, when phpmyadmin works fine?
Happens with HeidiSQL too. Does anyone have an idea? Thanks.
I had the same issue in HeidiSQL, turned out my plink timeout was too low. As soon as I increased the timeout, my problem was solved!