[Serusers] ? presence ser 0.10.99? - db/db.c:83: Database driver 'mysql' not found

Vaclav Kubart vaclav.kubart at iptel.org
Mon Jan 22 14:13:32 CET 2007


Hi,
if you are trying to use mysql database, you have to load mysql module -
you have to compile it and call loadmodule from cfg script:

loadmodule "/home/ser/src/sip_router/modules/mysql/mysql.so"

	Vaclav

On Mon, Jan 22, 2007 at 11:15:38AM +0100, tzieleniewski wrote:
> HI!!
> 
> I am working with the presence functionality. Today's morning I compiled the latest CVS source and after I run ser I received the following error:
> 
> Jan 22 11:19:27 rd /home/ser/ser/ser-0.10.99/presence/ser[3861]: ERROR: db/db.c:83: Database driver 'mysql' not found
> Jan 22 11:19:27 rd /home/ser/ser/ser-0.10.99/presence/ser[3861]: uri_db:mod_init: Unable to bind to the database module
> Jan 22 11:19:27 rd /home/ser/ser/ser-0.10.99/presence/ser[3861]: init_mod(): Error while initializing module uri_db
> 
> my ser.cfg looks like this:
> ..
> loadmodule "/home/ser/src/sip_router/modules/uri/uri.so"
> loadmodule "/home/ser/src/sip_router/modules/uri_db/uri_db.so"
> loadmodule "/home/ser/src/sip_router/modules/rls/rls.so"
> loadmodule "/home/ser/src/sip_router/modules/pa/pa.so"
> loadmodule "/home/ser/src/sip_router/modules/presence_b2b/presence_b2b.so"
> ...
> modparam("domain|uri_db|usrloc", "db_url", "mysql://ser:heslo@localhost/ser")
> 
> I have the previous version of ser running as proxy+registrar and there is no such error.
> 
> Waiting for Your help:)
> Bests 
> TOmasz
>  
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list