Configure MySQL so you can connect via ODBC. That means installing MyODBC, and unixodbc if you're on Linux, then setting up a DSN.

http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core

-Steve

On 28 January 2011 21:09, Phone <phone.bytes@gmail.com> wrote:
Take a look here

http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh

and here

http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh

lots of good info to get you started.



On 01/28/2011 1:41 PM, deniro wrote:
Hi
 
I think lua is the recomended/preferred for database connections and programming with freeswitch
 
1-- how can I connect to an existing mysql database (externally created and managed by php program -- contructed tables -rows- fields etc...) 
 
2-- how can I create  new mysql database  with freeswitch?
 
3-- how to check if required  lua components are  really  installed/working  for mysql db in freeswitch?
 
4-- if lua isn't a choice, which is the next best to handle  mysql  databases (javascript, perl etc..)
 
5-- any comprehensive  freeswitch  mysql db handling doc, links etc...?
thx
 
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org