[Serusers] Db connection problem
klaus.mailinglists at pernau.at
Sun Feb 1 13:08:31 CET 2004
try to increase the debug level in ser.cfg. maybe there will be
additional information why the connection could not be established.
Atle Samuelsen wrote:
> as I said, with mysql -u ser -h hostname.domain.com -p I get to loginto
> the datebase..
> Iv now checked once more.. it works with the mysql command but not with
> - Atle
> * Klaus Darilion <klaus.mailinglists at pernau.at> [040131 18:13]:
>>Have you configured mysql to allow the new user to access the db also
>>from remote hosts (not only from localhost)? I'm unsing the same
>>scenario at it works fine.
>>Atle Samuelsen wrote:
>>>Hey guys, Im now running Ser CVS, Tho, I want to have the voicemail
>>>service on a other box. So I added a user to my db that had access to
>>>the ser database .. and that works with the normal mysql -u ser -h
>>>hostname -p ... works like a dream.. Tho. when I modparam("vm",
>>>"db_url","mysql://ser:email@example.com/ser"> I wont work.
>>>I then replicated the database over to the same box. changed
>>>dbhost.domain.com to localhost.. it worked.. Tho still. my database is
>>>on a difrent box.. so what can be wrong..
>>>voip-vm# stateless - initializing
>>>Maxfwd module- initializing
>>>textops - initializing
>>>voicemail - initializing
>>>0(16159) ERROR: vm_mod_init: unable to bind db
>>>0(16159) init_mod(): Error while initializing module vm
>>>ERROR: error while initializing modules
>>>Serusers mailing list
>>>serusers at lists.iptel.org
> Serusers mailing list
> serusers at lists.iptel.org
More information about the sr-users