<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>&gt; From: ibc@aliax.net<br>&gt; To: users@lists.kamailio.org<br>&gt; Date: Mon, 11 May 2009 22:29:23 +0200<br>&gt; Subject: Re: [Kamailio-Users] Error when connecting to mysql<br>&gt; <br>&gt; El Lunes, 11 de Mayo de 2009, Alex R.S.M escribió:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I am getting the following error when kamailio wants to connect to mysql<br>&gt; &gt; within a simple perl program. "mysql" module is already loaded in the<br>&gt; &gt; config file. Is there any modparam for mysql that has to be set?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ERROR:core:XS_OpenSER__Message_log: perl error: Can't locate object method<br>&gt; &gt; "connect" via package "DBI" at /etc/openser/test.pl line 17.<br>&gt; <br>&gt; You need to install some Perl libraries (DB access), as libdbi-perl (not sure <br>&gt; if more libraries are required).<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Iñaki Baz Castillo &lt;ibc@aliax.net&gt;<br>&gt; <br>&gt; _______________________________________________<br>&gt; Kamailio (OpenSER) - Users mailing list<br>&gt; Users@lists.kamailio.org<br>&gt; http://lists.kamailio.org/cgi-bin/mailman/listinfo/users<br>&gt; 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>