You can compile the MySQL Windows source with Borland C++ 5.02. (The Windows source includes only projects for Microsoft VC++, for Borland C++ you have to do the project files yourself.)
One known problem with Borland C++ is that it uses a different
structure alignment than VC++. This means that you run into
problems if you try to use the default
libmysql.dll libraries (that were compiled
using VC++) with Borland C++. To avoid this problem, only call
mysql_init() with NULL
as an argument, not a pre-allocated MYSQL
structure.

User Comments
Connecting C++ Builder to MySQL using ado
Set this connection string but insure that you have MySQL ODBC 3.51 installed in your computer
DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=yourdata;UID=userid;PWD=password;OPTION=16427
Add your own comment.