MySQL :: MySQL 5.0 Reference Manual :: 20.1.4.5 Configuring a Connector/ODBC DSN on Unix
ODBCConfigGUI tool (HOWTO: ODBCConfig)
odbcinstIn some cases when using
unixODBC, you might get this error:Data source name not found and no default driver specifiedIf this happens, make sure the
ODBCINIandODBCSYSINIenvironment variables are pointing to the rightodbc.inifile. For example, if yourodbc.inifile is located in/usr/local/etc, set the environment variables like this:export ODBCINI=/usr/local/etc/odbc.ini export ODBCSYSINI=/usr/local/etc
浙公网安备 33010602011771号