[SR-Users] how to log sql query

Володимир Іванець volodyaivanets at gmail.com
Fri Nov 27 13:26:57 CET 2015


Hello,

If you're using MySQL, you can add "log" setting to the configuration. For
example "log = /var/log/mysql.log".

Here is some additional information:
http://www.microhowto.info/howto/log_all_queries_to_a_mysql_server.html
On Nov 27, 2015 14:21, "John Smolka" <john.smolka9 at gmail.com> wrote:

> Hi guys,
>
> I use kamailio with mysql. Some queries are huge and when I need to debug
> something it takes a time, so the debbuging would be easier.
> Is there any way how could I log all sql queries into a log file ?
>
> Thanks,
> John
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151127/3c324c4b/attachment.html>


More information about the sr-users mailing list