<div dir="ltr">oh! , just sql:// ? i was trying with sql://localhost/my_database :)<br><br>i will try that, thanks bogdan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/10 Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><tt>Hi Mike,</tt><tt><br>
      </tt><tt><br>
      </tt><tt>You need first to configure the cachedb_sql, to tell it
        where the SQL d</tt><tt>b is:</tt><tt><br>
      </tt><tt>    </tt><tt>modparam(&quot;cachedb_sql&quot;,
        &quot;db_url&quot;,&quot;mysql://localhost/my_database&quot;);</tt><tt><br>
      </tt><tt><br>
      </tt><tt>Then, in the dialog module, you need to point the noSQL
        connector t</tt><tt>o the previous module:</tt><tt><br>
      </tt><tt>    </tt><tt>modparam(&quot;dialog&quot;, &quot;cachedb_url&quot;, &quot;sql://&quot;)</tt><tt><br>
        <br>
        Give it a try and let me know.<br>
        <br>
        Regards,<br>
      </tt>
      <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
      On 07.12.2013 17:03, Mike Tesliuk wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>
            <div>Hello Guys, <br>
              <br>
            </div>
            I try to implement (for test purpose) the cachedb_sql but i
            cant use this on dialog module, i start the module , i have
            the database , but when i call over dialog i put the
            cachedb_url as &quot;sql://localhost/opensips&quot; (im using sql
            because is what beeing exported on debug )<br>
            <br>
            Dec  5 23:41:47 [5953] DBG:core:register_cachedb: registered
            cachedb system [sql]<br>
            Dec  5 23:41:47 [5953] DBG:core:parse_cachedb_url: parsing
            [sql://]<br>
            Dec  5 23:41:47 [5953] DBG:core:parse_cachedb_url: Just
            scheme, no actual url<br>
            <br>
          </div>
          so, when i try to call this on dialog i receive<br>
          <br>
          Dec  5 23:41:47 [5953]
          ERROR:cachedb_sql:dbcache_new_connection: bogus url for local
          cachedb<br>
          Dec  5 23:41:47 [5953] ERROR:core:cachedb_do_init: failed to
          open connection<br>
          Dec  5 23:41:47 [5953] ERROR:dialog:init_cachedb_utils: cannot
          connect to cachedb_url sql://localhost/cachedb<br>
          Dec  5 23:41:47 [5953] ERROR:dialog:mod_init: cannot init
          cachedb utils<br>
          Dec  5 23:41:47 [5953] ERROR:core:init_mod: failed to
          initialize module dialog<br>
          Dec  5 23:41:47 [5953] ERROR:core:main: error while
          initializing modules<br>
          <br>
          <br>
          <br>
        </div>
        so, there is not possible to use cachedb_sql with dialog or im
        doing something wrong ?<br>
        <br>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>