I am trying to use dbexpress component first time to connect to mysql
i got this error
Failure to Connect : Unable to load libmysql.d开发者_高级运维ll
my delphi version : Delphi7
mysql 5.1.36 (wamp server installed on my windows).
can any one help me in this
thanks in advance
DB Express / Delphi 7 did not support MySQL 5 so you'll need a copy of the open source MySQL 5 drivers for DB Express (Found here).
You should also ensure that the libmysql.dll assembly is installed and can be found in your PATH variable. If you need to find it again, it can be found in the MySQL5.X zip distribution in lib\opt
Try to put libmysql.dll to your lib path. If this doesn't help, than get another version of libmysql.dll file.
Delphi 7 is shipped with mysql 3.x drivers. What you need is something for mysql 5. You can find one here, Follow the instructions on how to add new dbexpress driver in the documentation
精彩评论