From my mac, I installed mysql56+server through macports 4 months ago. Today after a laptop restart, I wasn't able to connect to MySQL anymore through SQL Pro. I can only connect through the Terminal. I have posted some relevant information below.
Command that successfully works for connecting to MySQL (after entering password):
/opt/local/etc/mysql56 mysql -u root -p
Command that fails to connect to MySQL:
/opt/local/etc/mysql56 mysql -u root -p -h '127.0.0.1'
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
/opt/local/etc/mysql56 telnet 127.0.0.1 3306
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
/etc/hosts contains:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
The my.cnf file that I am using has everything commented out. I do not want to use a socketed connection, just standard 127.0.0.1 connection that I was using in SQL Pro.