[SR-Users] Kamailio new install, unable to create users

Jurijs Ivolga jurijs.ivolga at gmail.com
Thu Nov 23 11:26:55 CET 2017


Hi,

https://github.com/kamailio/kamailio/blob/master/utils/kamctl/kamctlrc

Please check lines 36, 39, it should be something like:


## database read/write user
DBRWUSER="root"

## password for database read/write user
DBRWPW="abc123"

Keep in mind in production using root user for this is not recommended.

With kind regards,

Jurijs

On Thu, Nov 23, 2017 at 12:07 PM, Atux Atux <atuxnull at gmail.com> wrote:

> May i have an example please?
> the ip of my kamailio is on 192.168.124.6/24
> the same machine has the mysql with user root and passwd abc123
>
> On Thu, Nov 23, 2017 at 11:43 AM, Jurijs Ivolga <jurijs.ivolga at gmail.com>
> wrote:
>
>> Hi,
>>
>> Make sure that you have proper mysql ip-address, username  and password
>> configured in
>> */etc/kamailio/kamctlrc*
>>
>> With kind regards,
>>
>> Jurijs
>>
>> On Thu, Nov 23, 2017 at 11:37 AM, Atux Atux <atuxnull at gmail.com> wrote:
>>
>>> Hi. New to the area and trying to find my way around with kamailio.
>>> In one of my debian servers i need to have kamailio with a gui to start
>>> playing around with it.
>>> i am following the http://kb.asipto.com/kamailio:
>>> skype-like-service-in-less-than-one-hour to install kamailio.
>>> When running kamdbctl create it asks what format coding that i must have
>>> to configure the DB. i simply add latin1 and it goes on.
>>> then when i issue kamctl add daniel 1234qwet it comes with the following
>>> error:
>>> root at debian:~# kamctl add daniel 1234qwet
>>> MySQL password for user 'kamailio at localhost':
>>> ERROR 1045 (28000): Access denied for user 'kamailio'@'localhost'
>>> (using password: YES)
>>> ERROR: introducing the new user 'daniel' to the database failed
>>> root at debian:~#
>>>
>>>
>>> Any ideas on how to proceed with the following error please?
>>>
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> _______________________________________________
> 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/20171123/4560c36c/attachment.html>


More information about the sr-users mailing list