Hello All,<div>I just ran into an issue that I think others might also run into. </div><div><br></div><div>So I just added dialog module to an existing configuration that already had a few db_urls specified for other modules. I forgot to add the db_url for the dialog module. Because of this, the dialog module (without warning) added it's own db_url. Of course, the default db_url didn't work and I got an access denied error in my logs.</div>
<div><br></div><div>This took me a good 10 minutes to track down. I couldn't figure out why it wasn't logging in. to make matters worse, I'm using the username 'opensips' so the log just looks like I must have mistyped something:</div>
<div><br></div><div><br></div><div><div>Apr 8 10:41:19 [16494] ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user 'opensips'@'localhost' (using password: YES)</div></div><div><br>
</div><div>I really think that if a module is going to init with a default db_url, that it should probably have a WARNING in the logs. something like:</div><div><meta charset="utf-8">Apr 8 XX:XX:XX [XXXX] WARNING:db_mysql:Using default db_url for module 'dialog'. You might want to change this</div>
<div><br></div><div>If I had seen that, I'd know that I needed to set the db_url for the dialog module.. I'm pretty sure this came up sometime before..</div><div><br></div><div>Thanks,</div><div>Brett</div><div><br>
</div>