[SR-Users] Can't connect to local MySQL server (13 "Permission denied")

David Villasmil david.villasmil.work at gmail.com
Tue Sep 4 09:40:42 CEST 2018


You should paste your failing cfg line.

On Tue, Sep 4, 2018, 08:39 David Villasmil <david.villasmil.work at gmail.com>
wrote:

> Make sure the password is correct and try with "localhost" and if that
> doesn't work, try with 127.0.0.1
>
> On Tue, Sep 4, 2018, 07:35 Henning Westerholt <hw at kamailio.org> wrote:
>
>> Am Freitag, 31. August 2018, 21:01:13 CEST schrieb Ginhoux, Patrick:
>> > Usually I connect on a command line like this ;
>> >
>> > su- mysql
>> >
>> > mysql
>> >
>> > use siprouter;
>> >
>> > If now I use
>> >
>> > mysql -u siprouter -p
>> >
>> > Enter password:
>> >
>> > mysql:siprouter:(none)> use siprouter;
>> >
>> > Database changed
>> >
>> > So I can connect the local server.
>>
>> Hello Patrick,
>>
>> just some ideas to help you troubleshoot the problem:
>>
>> - maybe there is an issue with the socket file, that kamailio uses the
>> wrong
>> socket file?
>> - maybe kamailio don't have file system access rights to the socket file?
>> - maybe there is a mistake in the kamailio cfg or an old cfg file is used?
>> - enable mysql server logging and try to spot something in the log during
>> the
>> kamailio start
>>
>> Best regards,
>>
>> Henning
>>
>> --
>> Henning Westerholt
>> https://skalatan.de/blog/
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180904/16025d3e/attachment.html>


More information about the sr-users mailing list