On Thu, Feb 4, 2010 at 5:38 PM, Chandrakant Solanki <solanki.chandrakant@gmail.com> wrote:


On Thu, Feb 4, 2010 at 5:31 PM, marius zbihlei <marius.zbihlei@1and1.ro> wrote:
Chandrakant Solanki wrote:
Hi

I have 3 server with 172.16.0.10/13/14 <http://172.16.0.10/13/14> IP address.


My DB is located for 172.16.0.10. I tried to connect mysql from terminal, it works great.

But when I start kamailio it gives me following error..

Hello

Just to double check Have you tried:

mysql --user=openser -p --host=172.16.0.10 openser

from 172.16.0.13 and it works?

>From localhost afaik mysql client might use Unix socks(/tmp/mysql.sock) . Use should double check that your MySQL server allows TCP connections

Cheers

Marius


Hi

mysql --user=openser -p --host=172.16.0.10 openser --socket=/var/lib/mysql/mysql.

i have used this command from 172.16.0.13/14 it will works fine and connect to DB on 172.16.0.10


--
Regards,

Chandrakant Solanki