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

2011-12-08 Thread M.Abdulaziz
Hello All, I just want to advice anyone who is facing this problem to do the following: 1. Start mysql as follows /etc/init.d/mysqld start 2. Check your config for errors: Opesnisp –E –f cfg_proxy.cfg 3. Start Opensips service opensips start The problem should be solved if it is only tha

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

2011-12-07 Thread M.Abdulaziz
Thank you very very much Vald & Ovidiu finally its working how nice is to see things working with no errors I really appreciate your help -- 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-

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

2011-12-07 Thread Ovidiu Sas
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 wrote: > > > Hello thank you for responding, > > yes I can access mysql with the same credentials as follows: > >>/etc/init.d/mysql

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

2011-12-07 Thread Vlad Paiu
Hello, You are connecting with the root username and password. I see you have OpenSIPS configured this way : modparam("usrloc", "db_url","mysql://opensips:opensipsrw@localhost/opensips") opensips is the username opensipsrw is the password Please make sure these are correct. Regards, Vla

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

2011-12-07 Thread M.Abdulaziz
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:xx Welcome to mysql monitor. >Use opensips; ... I can access the mysql only this way but

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

2011-12-07 Thread Vlad Paiu
Hello, Can you connect to your mysql server from a shell using the credentials that you have entered in the OpenSIPS cfg ? Regards, Vlad Vlad Paiu OpenSIPS Developer On 12/06/2011 11:06 PM, M.Abdulaziz wrote: Could anyone please help in this problem? I really appreciate all your help. R

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

2011-12-06 Thread M.Abdulaziz
Could anyone please help in this problem? I really appreciate all your help. 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-tp7056051p7068391.html Sent from the OpenSIPS

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

2011-12-05 Thread Maysoon Aaziz Alduwais
@lists.opensips.org Subject: Re: [OpenSIPS-Users] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock Hello, Your OpenSIPS does not start at all, because it can't connect to the MySQL server. Is the MySQL server running on localhost ? Regards. Vlad Paiu OpenSIPS

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

2011-12-05 Thread Vlad Paiu
Hello, Your OpenSIPS does not start at all, because it can't connect to the MySQL server. Is the MySQL server running on localhost ? Regards. Vlad Paiu OpenSIPS Developer On 12/02/2011 10:43 PM, M.Abdulaziz wrote: Hello All, I was trying to configure opensips as a registerar but when uac

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

2011-12-02 Thread M.Abdulaziz
Hello All, I was trying to configure opensips as a registerar but when uac clients sends the registration requests I got no reaction from opensips & I got these error messages: Dec 2 22:29:16 [13681] DBG:db_mysql:db_mysql_connect: opening connection: mysql://:@localhost/opensips Dec 2