Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98523 - Myodbc installs incorrect odbc driver
Summary: Myodbc installs incorrect odbc driver
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 18:26 UTC by Gustavo Felisberto (RETIRED)
Modified: 2005-07-26 19:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Felisberto (RETIRED) gentoo-dev 2005-07-09 18:26:19 UTC
I get an error in ODBCConfig when i try to use the mysql driver. After some digging i found that it needs to have /usr/lib/libmyodbc3S.so in the setup line of the driver.
Comment 1 Francesco R. (RETIRED) gentoo-dev 2005-07-26 19:03:40 UTC
try this:

#export ODBCINI=/etc/unixODBC/odbcinst.ini
#export ODBCSYSINI=/etc/unixODBC/

======== /etc/unixODBC/odbcinst.ini ========
[ODBC Data Sources]
myodbc3     = MyODBC 3.51 Driver DSN

[myodbc3]
Description                  = ODBC Driver for MySQL
Driver                       = /usr/lib/libmyodbc3.so
Setup                        = /usr/lib/libmyodbc3S.so
FileUsage                    = 1
CPTimeout                    =
CPReuse                      =
======== /etc/unixODBC/odbcinst.ini ========

========== /etc/unixODBC/odbc.ini ==========
[my]
Description     = MySQL
Driver          = myodbc3
Server          = localhost
Database        = mysql
Port            = 3306
Socket          = /var/run/mysqld/mysqld.sock
Option          =
Stmt            =
Trace           = On
TraceFile       = stderr
DSN             = mysql

[test]
Description     = MySQL ODBC Driver DSN
Driver          = myodbc3
Server          = localhost
Database        = test
Port            = 3306
Socket          =
Option          =
Stmt            =
========== /etc/unixODBC/odbc.ini ==========


#isql -v my [user] [password]
#isql -v test [user] [password]