John,
I used your code and it works but the speed is the same. How fast do you connect to a remote MySQL database? How does your speed compare to the speed of the ODBC connection test? I just need to know if what I am encountering is normal.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!