« Return to Thread: mysql.sock

mysql.sock

by drewshen :: Rate this Message:

Reply to Author | View in Thread

I installed  mysql through ports on freebsd 6.1.  i started the daemon, and mysql starts.  however when i try "mysql" i get
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'

i looked this up on the mysql page and did find much help.  first i tried

shell> chmod +t /tmp

to protect tmp.  that didnt solve it, so i tried to point my sock file to another directory in /etc/my.cnf.  i got the same error message, even with the new directory.  does anyone know where my problem lies? thanks!

 « Return to Thread: mysql.sock