I'm going to connect my apllication with MySql.
But when I try to change the Connect option of TZConnection to true value I get the error:
But I've libmysql.dll from (c:\Program Files\MySQL\MySQL Connector C 6.0.2\lib\opt\) and it's located in the project folder. And also I copied it to the system32 folder.
Could you help me please?
Thank you!
P.S. I've also tried to set the library into the LibraryLocation option:
But finally got the same error as above...
Connection with MySql
-
- Fresh Boarder
- Posts: 8
- Joined: 13.03.2013, 19:53
I've solved the issue!
The problem was I've 64x OS and my libmysql.dll was for 64x. But C++ Builder XE2 is 32x so I need to use libmysql.dll for 32x. That's all.
EgonHugeist, but I've the question. Where should I place libmysql.dll?
Some people say it should be placed into project folder.
So I copied libmysql.dll in the project folder and it's still can't be found.
Why?
Waiting for your answer!
The problem was I've 64x OS and my libmysql.dll was for 64x. But C++ Builder XE2 is 32x so I need to use libmysql.dll for 32x. That's all.
EgonHugeist, but I've the question. Where should I place libmysql.dll?
Some people say it should be placed into project folder.
So I copied libmysql.dll in the project folder and it's still can't be found.
Why?
Waiting for your answer!
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17