[OpenSIPS-Users] MySQL connection error
netchander at gmail.com
Fri Jun 10 14:54:32 CEST 2011
Can you check the default parameter values for the modules that you load in
the opensips.cfg file and for which you have not explicitly configured
By default, the db_url parameter for the modules have the value* "*
So, in your case, the opensips at localhost and the password used might not be
from your opensips.cfg but rather coming from the default parameter values
atleast for one of the modules
I ran into similar issue and was able to resolve by explicitly configuring
db_url params for all the applicable modules.
On Fri, Jun 10, 2011 at 3:22 PM, Barsan Liviu <barsanl at yahoo.com> wrote:
> We re-installed from sources the OpenSIPs server to Debian and copied back
> to /etc/opensips the configuration files saved from the previous working
> When I start the server with opensips start then we receive the error in
> the log:
> Jun 10 18:03:12 P4302 opensips: ERROR:db_mysql:db_mysql_connect:
> driver error(1045): Access denied for user 'opensips'@'localhost' (using
> password: YES)
> Jun 10 18:03:12 P4302 opensips:
> ERROR:db_mysql:db_mysql_new_connection: initial connect failed
> Jun 10 18:03:12 P4302 opensips: ERROR:core:db_do_init: could not add
> connection to the pool
> For sure we do not have db_url in opensips.cfg or other files which
> contains username 'opensips'.
> Checked and from command line we can connect from mysql with the
> credentials we set in opensips.cfg.
> To be sure we put back the initial opensips.cfg comming with the sources,
> changed the db credentials to ours and still receive this error.
> Do you have any suggestion?
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users