I have installed Bugzilla on my windows system using this https://bugzilla.readthedocs.io/en/latest/installing/windows.html link.
Firstly, clone the https://github.com/bugzilla/bugzilla.git link to install bugzilla on system.
git clone https://github.com/bugzilla/bugzilla.git
After That install Perl and its required module using ActiveState.
C:\Perl64\bin>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 http://www.ActiveState.com
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 checksetup.pl it produce the following error.
Checking for DBD-mysql (v4.001) ok: found v4.050
install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 356) line 3.
at Bugzilla/DB.pm 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.
.