Configure MySQL so you can connect via ODBC. That means installing MyODBC, and unixodbc if you're on Linux, then setting up a DSN.<br><br><a href="http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core">http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core</a><br>
<br>-Steve<br><br><div class="gmail_quote">On 28 January 2011 21:09, Phone <span dir="ltr"><<a href="mailto:phone.bytes@gmail.com">phone.bytes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Take a look here<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh" target="_blank">http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh</a><br>
<br>
and here<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh" target="_blank">http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh</a><br>
<br>
lots of good info to get you started.<div><div></div><div class="h5"><br>
<br>
<br>
On 01/28/2011 1:41 PM, deniro wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">
<div>Hi</div>
<div> </div>
<div>I think lua is the recomended/preferred for database
connections and programming with freeswitch</div>
<div> </div>
<div>1-- how can I connect to an existing mysql database
(externally created and managed by php program -- contructed
tables -rows- fields etc...) </div>
<div> </div>
<div>2-- how can I create new mysql database with freeswitch?</div>
<div> </div>
<div>3-- how to check if required lua components are really
installed/working for mysql db in freeswitch?</div>
<div> </div>
<div>4-- if lua isn't a choice, which is the next best to handle
mysql databases (javascript, perl etc..)</div>
<div> </div>
<div>5-- any comprehensive freeswitch mysql db handling doc,
links etc...?</div>
<div>thx</div>
<div> </div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>