ERROR 2003 (HY000): Can't connect to MySQL server on (111)
- by JohnMerlino
I am unable to connect to on my ubuntu installation a remote tcp/ip which contains a mysql installation:
viggy@ubuntu:~$ mysql -u user.name -p -h xxx.xxx.xxx.xxx -P 3306
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (111)
I commented out the line below using vim in /etc/mysql/my.cnf:
# Instead of…