Dynaloader Error loading DBD-mysql

Excerpt from Apache error log

install_driver(mysql) failed: Can’t load ‘C:/Users/flbaker/AppData/Local/ActiveState/cache/a5e10557/site/lib/auto/DBD/mysql/mysql.dll’ for module DBD::mysql: load_file:The specified module could not be found at C:/Users/flbaker/AppData/Local/ActiveState/cache/a5e10557/lib/DynaLoader.pm line 206.\r:

The file exists. Looking at the Dynaloader code at line 206 it appears to be unable to deal with the “auto” directory.

Context is: Apache 2.4, Maria DB, and ActiveState Perl running on Windows 10.

This error has been reported a lot, but without a solution. Please help resolve this critically important issue.

Fraser Baker

That looks like you installed with “state activate”.

“activate” gives a virtual runtime for one user, and does not provide a runtime that can be used by third party software like Apache.

Try using the other method for installing with the State Tool.