[Freeswitch-users] ODBC through JS

Baskar yudha2008 at gmail.com
Mon Oct 20 03:25:35 PDT 2008


Hi,

Using isql i get these error
[root at hp30094686650 ~]# isql ODBC
[ISQL]ERROR: Could not SQLConnect


when i run odbcinst -j on my system, it shows me also 3 files

[root at hp30094686650 ~]# odbcinst -j
unixODBC 2.2.12
DRIVERS............: /usr/local/etc/odbcinst.ini
SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini
USER DATA SOURCES..: /root/.odbc.ini



* /usr/local/etc/.odbc.ini*
[ODBC]
Description = mysql
Trace       = Off
TraceFile   = stderr
Driver      = mysql
SERVER      = 172.20.176.32
USER        = optimus
PASSWORD    = optimus
PORT        = 3306
DATABASE    = freeswitch


 */usr/local/etc/odbcinst.ini*

[mysql]
Description = MYSQL driver
Driver      = /usr/local/lib/libmyodbc3.so
Setup       = /usr/local/lib/libodbcmyS.so

CPTimeout   =
CPReuse     =
FileUsage   = 1

I what to connect to mysql please correct me where i am worng
-- 
Warm Regards,
N.Baskar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081020/9d70759f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list