Perl MYSQL Error : libmysql.dll

2019-06-11 08:49发布

Have you ever met this error when code Perl to access db MYSQL : The procedure entry point mysql_get_parameters could not be located in libmysql_.dll ?

I already copied libmysql.dll from D:\xampp\mysql\lib\ to many places and renamed it to libmysql_.dll: - D:\xampp\perl\vendor\lib\auto\DBD\mysql\ - C:\WINDOWS\System32\ But still Entry Point Not Found -.-'

Please help ...

Regards, Christine

2条回答
地球回转人心会变
2楼-- · 2019-06-11 08:59

I know this is an OLD problem, but current strawberry perl (5.24.1.1) will not work as downloaded/installed unless you use the answer above to fix it.

Copy the dll located at [DRIVELETTER]:\Strawberry\c\bin\LIBMYSQL_.dll

TO: [DRIVELETTER]:\Strawberry\perl\vendor\lib\auto\DBD\mysql

And your legacy mysql scripts will work again :-) (well, mine did)

查看更多
干净又极端
3楼-- · 2019-06-11 09:03
  1. Download Strawberry Perl from http://strawberryperl.com/
  2. Install it on your PC
  3. Find libmysql_.dll file from C:\strawberry\c\bin
  4. Copy it onto D:\xampp\perl\vendor\lib\auto\DBD\mysql
查看更多
登录 后发表回答