<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
libdbi-perl is already installed. I can connect to mysql directly from perl script.<br>The error occurs when calling perl script from kamailio. <br><br>- mysql.so exists in the lib folder and is being loaded into kamalio (loadmodule "mysql.so").<br><br><br><br><br>> From: ibc@aliax.net<br>> To: users@lists.kamailio.org<br>> Date: Mon, 11 May 2009 22:29:23 +0200<br>> Subject: Re: [Kamailio-Users] Error when connecting to mysql<br>> <br>> El Lunes, 11 de Mayo de 2009, Alex R.S.M escribió:<br>> > Hi,<br>> ><br>> > I am getting the following error when kamailio wants to connect to mysql<br>> > within a simple perl program. "mysql" module is already loaded in the<br>> > config file. Is there any modparam for mysql that has to be set?<br>> ><br>> ><br>> > ERROR:core:XS_OpenSER__Message_log: perl error: Can't locate object method<br>> > "connect" via package "DBI" at /etc/openser/test.pl line 17.<br>> <br>> You need to install some Perl libraries (DB access), as libdbi-perl (not sure <br>> if more libraries are required).<br>> <br>> <br>> -- <br>> Iñaki Baz Castillo <ibc@aliax.net><br>> <br>> _______________________________________________<br>> Kamailio (OpenSER) - Users mailing list<br>> Users@lists.kamailio.org<br>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users<br>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users<br><br /><hr />Insert movie times and more without leaving Hotmail®. <a href='http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009' target='_new'>See how.</a></body>
</html>