Undefined subroutine &DBD::mysql::db::_login

Posted by PedroRibeiro on 2007-07-11 12:51
Forums: PPM | OS: Windows XP Pro

Hi all,
I am installing bugzilla on XP and when I run the checksetup.pl I run into the following error, that I believe has todo with the download of the module:

Undefined subroutine &DBD::mysql::db::_login called at C:/Perl/site/lib/DBD/mysql.pm line 142, chunk 228.

**********************************
Here is a copy and paste of the whole output:
**********************************
Checking for DBD-mysql (v2.9003) ok: found v4.005
Had to create DBD::mysql::dr::imp_data_size unexpectedly at C:/Perl/lib/DBI.pm line 1190, chunk 228.
Use of uninitialized value in subroutine entry at C:/Perl/lib/DBI.pm line 1190, chunk 228.
Had to create DBD::mysql::db::imp_data_size unexpectedly at C:/Perl/lib/DBI.pm line 1190, chunk 228.
Use of uninitialized value in subroutine entry at C:/Perl/lib/DBI.pm line 1190, chunk 228.
There was an error connecting to MySQL:

Undefined subroutine &DBD::mysql::db::_login called at C:/Perl/site/lib/DBD/mysql.pm line 142, chunk 228.

This might have several reasons:

* MySQL is not running.
* MySQL is running, but there is a problem either in the
server configuration or the database access rights. Read the Bugzilla
Guide in the doc directory. The section about database configuration
should help.
* Your password for the 'bugs' user, specified in $db_pass, is
incorrect, in './localconfig'.
* There is a subtle problem with Perl, DBI, or MySQL. Make
sure all settings in './localconfig' are correct. If all else fails, set
'$db_check' to 0.

******************************************
Below is what inside the code printed in the stack trace
*******************************************

Undefined subroutine &DBD::mysql::db::_login called at C:/Perl/site/lib/DBD/mysql.pm line 142, chunk 228.

140 # Call msqlConnect func in mSQL.xs file
141 # and populate internal handle data.
142 DBD::mysql::db::_login($this, $dsn, $username, $password)
143 or $this = undef;