On 05/11/2009 11:53 PM, Alex R.S.M wrote: > 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"). What is you kamailio version? latest have the file name db_mysql.so
Cheers, Daniel > > > > > > From: [email protected] > > To: [email protected] > > 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 <[email protected]> > > > > _______________________________________________ > > Kamailio (OpenSER) - Users mailing list > > [email protected] > > 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®. See how. > <http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Kamailio (OpenSER) - Users mailing list > [email protected] > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users > http://lists.openser-project.org/cgi-bin/mailman/listinfo/users -- Daniel-Constantin Mierla http://www.asipto.com/ _______________________________________________ Kamailio (OpenSER) - Users mailing list [email protected] http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
