[Freeswitch-users] Problems with ODBC
Raul Fragoso
raul at etellicom.com
Tue Jan 6 06:29:15 PST 2009
Your odbcinst.ini file doesn't seem to have the MySQL ODBC driver
installed correctly. Did you install the libmyodbc package ?
This is the contents of my /etc/odbcinst.ini file with a working driver
for MySQL:
[MySQL]
Description = MySQL driver
Driver = /usr/lib/odbc/libmyodbc.so
Setup = /usr/lib/odbc/libodbcmyS.so
CPTimeout =
CPReuse =
On Tue, 2009-01-06 at 14:59 +0100, 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
>
>
>
> And I can’t start FS. I get this Error:
>
> ./freeswitch: error while loading shared libraries: libodbc.so.1:
> cannot open shared object file: No such file or directory
>
>
>
> I uncomment:
>
>
>
> conf/autoload_configs/spidermonkey.conf.xml
>
> <load module="mod_spidermonkey_odbc"/>
>
> build/modules.conf
>
> languages/mod_spidermonkey_odbc
>
>
>
>
>
> Here my configurations:
>
>
>
> odbc.ini
>
>
>
> [fs01_odbc]
>
> Driver=MySQL
>
> SERVER=localhost
>
> PORT=3306
>
> DATABASE=freeswitch
>
> Socket= /var/run/mysqld/mysqld.sock
>
>
>
> odbcinst.ini
>
>
>
> [MySQL]
>
> Description = ODBC for MySQL
>
> Driver = /usr/local/lib/libodbc.so
>
> UsageCount = 1
>
>
>
> Can you help me? What do I wrong?
>
>
>
> Thanks!
>
>
>
> Regards, fidibus
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the Freeswitch-users
mailing list