Unixodbc
UnixODBC-2.3.1.tar.gz
MySQL: MySQL 5.0 Reference Manual: Connector 1.4.5 locking ing a connector/odbc dsn on UNIX
Listen 1.4.5. Bridging ing a connector/odbc dsn on UNIX
OnUNIX
, You configure DSN entries directly inODBC. ini
File. Here is a typicalODBC. ini
File that configuresMydbc3
As the DSN name for connector/ODBC 3.51:
; ODBC. ini configuration for connector/ODBC and connector/ODBC 3.51 drivers; [ODBC data sources] mydbc3 = myodbc 3.51 driver DSN [mydbc3] driver =/usr/local/lib/libmydbc3.sodescription = connector/ODBC 3.51 driver dsnserver = localhostport = user = rootpassword = database = testoption = 3 socket = [Default] driver =/usr/local/lib/libmydbc3.sodescription = connector/ODBC 3.51 driver dsnserver = localhostport = user = rootpassword = database = testoption = 3 socket =
Refer to the section before 1.4.2, "connector/ODBC connection parameters", for the list of connection parameters that can be supplied.
Note
If you are usingUnixodbc
, You can use the following tools to set up the DSN: