[Kamailio-Users] Error when connecting to mysql

Alex R.S.M alex_rsm at hotmail.com
Mon May 11 22:26:11 CEST 2009


Hi,

I am getting the following error when kamailio wants to connect to mysql within a simple perl program. "mysql" module is already loaded in the config file. Is there any modparam for mysql that has to be set?


ERROR:core:XS_OpenSER__Message_log: perl error: Can't locate object method "connect" via package "DBI" at /etc/openser/test.pl line 17.  


simple perl program:

#!/usr/bin/perl

use OpenSER;
use OpenSER::Constants;

sub run
{
   ???
}

1


Thanks,
A. R.

_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20090511/a2ebe5fc/attachment-0001.htm 


More information about the Users mailing list