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

Ovidiu Sas osas at voipembedded.com
Wed Dec 7 15:07:23 CET 2011


Make sure that you are able to connect to mysql using tcp:
http://www.howtoforge.com/faq/6_8_en.html

Regards,
Ovidiu Sas

On Wed, Dec 7, 2011 at 8:41 AM, M.Abdulaziz <malduwais1 at ksu.edu.sa> wrote:
>
>
> 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.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Users mailing list