[OpenSIPS-Users] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock

M.Abdulaziz malduwais1 at ksu.edu.sa
Wed Dec 7 14:41:34 CET 2011



Hello thank you for responding,

yes I can access mysql with the same credentials as follows:

>/etc/init.d/mysqld start

Starting mysqld                 [OK]

>mysql -u root -p
Enter password:xxxxxx

Welcome to mysql monitor.....

>Use opensips;
.......

 I can access the mysql only this way but when I try to run my code I always
get that error. Am I doing somthing wrong in my code??

Note that I searched for mysql.sock in my computer but I couldn't find it
any where

Best Regards,

--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Can-t-connect-to-local-MySQL-server-through-socket-var-lib-mysql-mysql-sock-tp7056051p7070497.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list