Equipment Configuration:
Procedure followed:
- Choosing MySQL ODBC 5.3 Unicode Driver
- Configure connection parameters
- Test connection in Delphi 7
When setting the connection string in a Delphi form using ADOQuery, it allows me to correctly select the data source. But it gives me the following error when testing the connection:
“Connection test failed when starting provider. Unspecified error”
Do I need to configure anything else to be able to connect to the database?
Another option to connect to
MySQL
(and possibly more performant than usingODBC
) is to use componentsZeosLib
.You can download them from Sourceforge here .
All the best.
Well, as you described the steps are fine. I remember that in Windows 7 , Delphi 7 gave some unexplained errors if you didn't open it with administrator permission, so if you haven't tried it. I leave you a video that I made in 2010 where I explain the steps to make the connection of mysql with Delphi 7 for you to review: See Video
Cheers!