cannot load vendor library libmysql.dll or libmysqld.dll

前端 未结 2 1976
轮回少年
轮回少年 2020-12-21 11:19

I want to use MYSQL in delphi xe10 with fireDAC. So, FDConnection on the form, then input basic information about my mysql db.

But when I try to connect, there is an

2条回答
  •  臣服心动
    2020-12-21 12:19

    I solved this problem myself.

    I got hint from here http://chapmanworld.com/2015/01/18/connecting-radstudio-to-mysql-with-firedac/

    First, I should know there are 32bit dll and 64bit dll separately. I used 64bit dll and got error. So, I use 32bit dll I got files from http://dev.mysql.com/downloads/mysql/

    Copy it to Program Files(x86)/Embarcadero/Studio/17.0/bin then I got success message.

    Additionally, mariaDB also works fine.

    **CAUTION In the link, Author doesn't recommend copy file to .../bin directory. But My case, I feel fine till now.

提交回复
热议问题