开发者

Unable to load libmysql.dll

开发者 https://www.devze.com 2022-12-14 13:45 出处:网络
I am trying to use dbexpress component first time to connect to mysql i got this error Failure to Connect : Unable to load

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号