On 10/02/14 13:25, Daniel Tryba wrote:
On Monday 10 February 2014 13:01:21 Victor V. Kustov wrote:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
Is it bug or feature?
Probably a feature, what is in you kamctlrc regarding database setup?
Maybe the MI interface is of use to you?
http://kamailio.org/docs/modules/4.1.x/modules/dialog.html#idp3741088
For futher clarification, kamctl dialog showdb is using 'mysql' tool (or
other specific db client tool) to simply do a select over dialog table
in the database and display the result. Kamailio is not involved in this
command.
So it is a matter of configuring kamctl to connect to the database server.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users