<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    the error says the username, password or IP address are invalid to
    connect to mysql -- access denied. There does not seem like being
    other connections using same db_url, check for typos in db_url
    parameter.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <br>
    On 3/3/12 12:39 AM, Krishna Kurapati wrote:
    <blockquote
cite="mid:CAOzCjAcLn+tnC=JZqKsEwoEPZj-P+37AGh==HSGTXOsNS6dFrQ@mail.gmail.com"
      type="cite">Hi all,
      <div><br>
      </div>
      <div>I am trying to use msilo module from modules_k. Unfortunately
        it if failing during DB initialization.</div>
      <div>Other modules are initializing fine. I am using Kamailio
        3.2.2.</div>
      <div><br>
      </div>
      <div>Not sure why the connection is not found. I tried to increase
        the MAX mysql connections to 250. I see the</div>
      <div>same error after I increase the connections.</div>
      <div><br>
      </div>
      <div>The config file is pretty standard:</div>
      <div><br>
      </div>
      <div>loadmodule "msilo.so"</div>
      <div>
        <div>modparam("msilo", "add_date", 0);</div>
        <div>modparam("msilo", "db_url", DBURL); &nbsp;# The DBURL works for
          other modules...</div>
      </div>
      <div><br>
      </div>
      <div>Here is the Log output:</div>
      <div><br>
      </div>
      <div>
        <div>0(14115) DEBUG: &lt;core&gt; [cfg.y:1684]: loading module
          msilo.so</div>
        <div>&nbsp;0(14115) DEBUG: &lt;core&gt; [sr_module.c:557]:
          load_module: trying to load
          &lt;/usr/local/kamailio-3.2.2/lib64/kamailio/modules_k/msilo.so&gt;</div>
      </div>
      <div><br>
      </div>
      <div>.....</div>
      <div><br>
      </div>
      <div>
        <div>0(14117) DEBUG: &lt;core&gt; [sr_module.c:928]: DEBUG:
          init_mod: msilo</div>
        <div>&nbsp;0(14117) DEBUG: &lt;core&gt; [sr_module.c:667]:
          find_export_record: found &lt;db_bind_api&gt; in module
          db_mysql
          [/usr/local/kamailio-3.2.2/lib64/kamailio/modules/db_mysql.so]</div>
        <div>&nbsp;0(14117) DEBUG: &lt;core&gt; [db.c:212]: using db bind api
          for db_mysql</div>
        <div>&nbsp;0(14117) DEBUG: &lt;core&gt; [db.c:299]: connection
          0x7fc20d1ace60 not found in pool</div>
        <div>&nbsp;0(14117) DEBUG: db_mysql [km_my_con.c:94]: opening
          connection: mysql://xxxx:xxxx@localhost/openser</div>
        <div>&nbsp;0(14117) ERROR: db_mysql [km_my_con.c:109]: driver error:
          Access denied for user 'openser'@'localhost' (using password:
          YES)</div>
        <div>&nbsp;0(14117) ERROR: &lt;core&gt; [db.c:303]: could not add
          connection to the pool 0(14117) ERROR: msilo [msilo.c:319]:
          failed to connect to the database</div>
        <div>&nbsp;0(14117) ERROR: &lt;core&gt; [sr_module.c:932]:
          init_mod(): Error while initializing module msilo
          (/usr/local/kamailio-3.2.2/lib64/kamailio/modules_k/msilo.so)</div>
        <div>ERROR: error while initializing modules</div>
      </div>
      <div><br>
      </div>
      <div>Any help?</div>
      <div><br>
      </div>
      <div>Thanks</div>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>