[Kamailio-Users] [kamailio-users] can't connect with remote database

Chandrakant Solanki solanki.chandrakant at gmail.com
Fri Feb 5 06:46:28 CET 2010


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

>
>
> On Thu, Feb 4, 2010 at 5:31 PM, marius zbihlei <marius.zbihlei at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100205/8177ffaf/attachment.htm>


More information about the Users mailing list