[Freeswitch-users] Problems with ODBC
fidibus83
fidibus83 at aol.com
Tue Jan 6 07:30:24 PST 2009
The libmyodbc package is installed.
But I see I have a lot of version of libmyodbc:
libmyodbc3.so
libmyodbc3_r.so
libmyodbc3_r-3.51.14.so
libmyodbc3-3.51.14.so
I changed odbcinst.ini:
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc3.so
Setup = /usr/lib/libodbcmyS.so
I run isgl vvv and I get this:
[08S01] [unixODBC] [MySQL] [ODBC 3.51 Driver] Cant connect to local MySQL
server through socket /var/run/mysqld/mysqld.sock (2)
[ISQL] ERROR: Could not SQLConnect
_____
Von: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von
Raymond Chandler
Gesendet: Dienstag, 6. Januar 2009 16:13
An: freeswitch-users at lists.freeswitch.org
Betreff: Re: [Freeswitch-users] Problems with ODBC
fidibus83 wrote:
Hello,
I need your help again!
I want to use ODBC in javascripts.
First I installed unixodbc and I did all the steps what are mentioned in
wiki: mod spidermonkey odbc.
But when I test my ODBC Setup by running isql I get this error:
[ISQL]ERROR: Could not SQLConnect
This isn't really a general purpose ODBC list, but using the -v option of
isql tends to yield more verbose output (imagine that!)
so you get:
isql -vvv freeswitch freeswitch freeswitch
[IM002][unixODBC][Driver Manager]Data source name not found, and no default
driver specified
[ISQL]ERROR: Could not SQLConnect
as opposed to:
isql freeswitch freeswitch freeswitch
[ISQL]ERROR: Could not SQLConnect
-Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090106/86b1dc6c/attachment.html
More information about the Freeswitch-users
mailing list