<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Everyone, </div><div><br data-mce-bogus="1"></div><div>I am trying start kamailio 4.2 with remote mysql server and on debug I see <br> DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio<br> but in cfg defined actual mysql server ip and not localhost </div><div><br data-mce-bogus="1"></div><div> 0(28885) DEBUG: <core> [sr_module.c:695]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/lib64/kamailio/modules/db_mysql.so]<br> 0(28885) DEBUG: <core> [db.c:213]: db_bind_mod(): using db bind api for db_mysql<br> 0(28885) DEBUG: <core> [db.c:318]: db_do_init2(): connection 0x7faca59eced8 not found in pool<br> 0(28885) DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/kamailio<br> 0(28885) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")<br> 0(28885) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(28885) ERROR: dialog [dlg_db_handler.c:147]: init_dlg_db(): unable to connect to the database<br></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Slava.<br data-mce-bogus="1"></div></div></body></html>