I am using MyODBC-3.51.06 and mysql-4.1.1-alpha. I connect to the database using a COM C++ Object and and query through ADO recordsets.
But the database connection changes inconsistently. I checked the MySQL logs and discovered that "Init DB mysql" call is made which connects my application to the default mysql database. :-(
The Init DB command is called quite inconsistently and not always from the same place in the application.
Kindly, suggest a solution so that I can retain my connection or avoid the init Db call.