Install_driver(mysql) failed: Attempt to reload DBD/ aborted

I encountered this problem while installing bugzilla, how can I fix this?
I’m using ActivePerl and XAMPP

install_driver(mysql) failed: Attempt to reload DBD/ aborted 

Compilation failed in require at (eval 367) line 3. at Bugzilla/ line 1328

Im also facing the same issue.

Are you sure it’s an ActivePerl?
XAMPP comes with it’s own Perl, and it’s not an ActivePerl. If you’re using XAMPP, it’s generally better to use the components that are included, since they’re all configured to interoperate out of the box.

XAMPP also uses MariaDB, rather than MySQL, and we’ve found that DBD-MySQL built for MySQL isn’t 100% compatible with MariaDB.