I have a problem with the DBD::mysql module. Unfortunately I could not find a solution in the existing topics.
I cannot get DBD::mysql to run.
My project can be found here:
Added modules: AWS::S3, DBI, DBD::mysql and DBD::SQLite
“Das angegebene Modul wurde nicht gefunden at”
=The specified module was not found at
Best regards, MDI
October 16, 2020, 2:45pm
How did you install the distribution? Did you download an MSI for a global installation or use the
state tool for a local install?
(This workaround is no longer needed. Improvements on The Platform mean that downloading third party dlls is no longer needed.)
That message usually means that you don’t have the required version of the MySQL client installed. There are some older discussion posts with the solution:
I installed the new ActiveState Perl custom build with Perl 5.28 and I added the module (DBD-mysql v4.50) and the DBI module.
This is just an upgrade from version 184.108.40.2062. Nothing else changed. I’m running existing scripts that work fine if I go back to this older version of ActivePerl.
Here is the error I get when executing the script:
install_driver(mysql) failed: Can't load 'C:/Perl64/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql: load_file:The specified module could not b…
I have tried both. The installation with an MSI and also with the state-tool via the command line.
Unfortunately, this took too much time for me, so I switched to Linux.
But what exactly is meant by a wrong MySQL client version? Is an additional program needed on Windows?
MySQL does not run on the Windows computer but on an external server.
And I had nothing more than ActivePerl installed on the computer.
October 19, 2020, 2:08pm
While the MySQL server may be running on an external server, you still need a MySQL client library on your local machine to connect to the MySQL server. Did you have a chance to check out the response shared by