[OpenSIPS-Devel] "opensipsctl add" gives wrong error when no DB permissions

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Nov 10 17:59:39 CET 2008


Hi Iñaki,

So, the report is invalid, as it understand (wrong password).

BTW, have you tried the new perl console ? osipsconsole ?

Regards,
Bogdan

Iñaki Baz Castillo wrote:
> El Sábado, 8 de Noviembre de 2008, Iñaki Baz Castillo escribió:
>   
>> Hi, the configured MySQL user has no permissions to write in "subscriber"
>> table so the entry is not added, but "opensipsctl" gives the following
>> error that makes no sense (since it's false):
>>
>> ----------
>> ~# opensipsctl add alice password
>> ERROR 1045 (28000): Access denied for user 'sip'@'localhost' (using
>> password: YES)
>> INFO: user 'alice' already exists
>> ----------
>>     
>
> Just a note: The DB user "sip" has no permission to read the table due to bad 
> password.
>
>   




More information about the Devel mailing list