Mysql 5.x is not officially supported with 4.0.2 The supported mysql versions are 3.23, 4.0 and 4.1.
You should first try to create some DSN via admin console and click test - if test comes back fine - then you should be ok with all your application's asps.
Please note that starting with mysql 4.1 mysql db uses password hashing which is not supported by the drivers, so you have to use one of the workarounds described here:
see http://dev.mysql.com/doc/refman/4.1/en/password-hashing.html
I would say you should make ASP Server 4.0.2 work with mysql5 if you use the workaround for password hashing.
There's no problem connecting to the database. Usually I don't use DSN to connect to my databases, but the test you referred to works fine. However I抦 not sure what this test does beyond making a connection?
The problem occurs when I抦 doing a SELECT query and trying to get the fields from the recordset. In some way the fields don抰 return the expected content. Some fields return empty results, and some others returns content from the other fields. It seems to occur when at least one field are of the type DECIMAL(11,2). However, the same query works fine against mysql 4.1.
I'm executing a query with this code:
tmp.Open mySQLtmp, globalDBConn, 3, 3
Where tmp is type of ADODB.RecordSet, mySQLtmp is the query and globalDBConn is an active ADODB.Connection.
Any ideas?