Page 1 of 1

Can't connect to local MySQL server through socket

PostPosted: Tue Jul 28, 2009 12:27 pm
by kash
when i try to login as admin or agent i am getting this error on my browser

MySQL connect ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)


and even if i try to connect to MySQL through root i get the same error

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

can any one help me out as im a newbie with Vicidialnow

thanks in advance

PostPosted: Tue Jul 28, 2009 2:06 pm
by Op3r
check if you mysql server is running

PostPosted: Tue Jul 28, 2009 2:57 pm
by kash
i found out, it was happening because server ran out of space

i uncommented the crontab
/usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +7 -print | xargs rm -f

but i dont no how to save crontab :(