måske dette kan bruges:
3.3.3.6 MySQL Setup
Source-code for the MyODBC driver for the MySQL database can be downloaded off the Internet from
http://www.mysql.com. On Solaris, Chili!Soft ASP includes a pre-built version of MyODBC (version 2.50.22) for your convenience, but we do not provide support for either MyODBC or MySQL.
With version 2.50.22 of the MyODBC driver for Unix, the driver is not able to read any information out of the ODBC.INI file. Any attributes you place in the ODBC.INI file will have no effect (with the version 2.50.22 driver. With later versions, this may change.) All attributes for your MySQL database must be passed in via a database connection string, for example:
Connection.Open \"Driver={MySQL}; SERVER=your.mysql.host; DATABASE=your db name; UID=userID; PWD=password\"
If the SERVER attribute is omitted, the MyODBC driver assumes MySQL is on localhost. With this type of connection string, the DATABASE attribute may not be omitted. With this connection string, the [mysql] default entry in the ODBC.INI file will be used. The following example shows the default ODBC.INI entry for MySQL:
[mysql]
Driver=/opt/casp/odbc/lib/libmyodbc_mysql_26.so
You may also connect to a MySQL database by using a DSN (data source name) in your connection string, but you must still provide the other important attributes in the connection string. With the following connection string:
Connection.Open \"DSN=test_mysql; SERVER=your.mysql.host; DATABASE=your db name; UID=userID; PWD=password\"
you must have an entry in your ODBC.INI file for test_mysql, like so:
[test_mysql]
Driver=/opt/casp/odbc/lib/libmyodbc_mysql_26.so
With this type of connection string, you may omit both the SERVER and DATABASE attributes. If you omit SERVER, MyODBC will assume localhost. If you omit DATABASE, MyODBC will use the DSN (in this case, test_mysql)as the name of the database.
Because MyODBC only provides support for Forward-only cursors, the Chili!Soft ADO control uses the ODBC Driver Manager\'s cursors. Via the Driver Manager\'s cursor support, MySQL users have access to Forward-only and Static cursors. Keyset and Dynamic cursors are not available with MySQL.
se evt.
http://www.chilisoft.com/caspdoc/Ch03-Configuration-15.htm#P461_37784for mere info.....