libdbi-perl is already installed. I can connect to mysql directly from perl script. The error occurs when calling perl script from kamailio.
- mysql.so exists in the lib folder and is being loaded into kamalio (loadmodule "mysql.so").
From: ibc@aliax.net To: users@lists.kamailio.org Date: Mon, 11 May 2009 22:29:23 +0200 Subject: Re: [Kamailio-Users] Error when connecting to mysql
El Lunes, 11 de Mayo de 2009, Alex R.S.M escribió:
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.
You need to install some Perl libraries (DB access), as libdbi-perl (not sure if more libraries are required).
-- Iñaki Baz Castillo ibc@aliax.net
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutori...