install_driver(mysql) failed: Attempt to reload DBD/ aborted error in Bugzilla installation on Windows

  activestate, bugzilla, mysql, perl, windows

I have installed Bugzilla on my windows system using this link.

Firstly, clone the link to install bugzilla on system.

git clone

After That install Perl and its required module using ActiveState.

C:Perl64bin>perl -v

This is perl 5, version 28, subversion 1 (v5.28.1) built for MSWin32-x64-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2018, Larry Wall

Binary build 0000 [a2725156] provided by ActiveState
Built Feb  9 2021 19:51:54

Now for the database i have use MySql for which i have used below version

mysql> select version();
| version() |
| 8.0.26    |
1 row in set (0.00 sec)

and in that I have created a new MySQL user for Bugzilla to use. Run run the following command in mysql command-line client :

mysql> CREATE USER 'bugs'@'localhost' IDENTIFIED BY 'bugs';
mysql> SELECT User FROM mysql.user;
mysql> GRANT ALL PRIVILEGES ON *.* TO 'bugs'@'localhost' WITH GRANT OPTION;

Also updated the localconfig file also

$db_driver = 'mysql';
$db_host = 'localhost';
$db_name = 'bugs';
$db_pass = 'bugs';
$db_port = 3306;

After setting up all configuation, Now when I run it produce the following error.

    Checking for            DBD-mysql (v4.001)    ok: found v4.050

install_driver(mysql) failed: Attempt to reload DBD/ aborted.
Compilation failed in require at (eval 356) line 3.

 at Bugzilla/ line 1328

Can anyone help with this issue.

Note: Also, I have checked various articles available on internet as well as on stackOverflow however it didn’t resolve my issue.


Source: Windows Questions