SQL error installing Filezilla

0

I run Bugzilla's checksetup.pl (migrating an older version), and it always returns:

Reading ./localconfig. 
Checking for           DBD-mysql (v4.00)   Ok: found v4.005
Had to create DBD::mysql::dr::imp_data_size unexpectedly at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm line 1229, <DATA> line 225.
Use of uninitialized value in subroutine entry at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm line 1229, <DATA> line 225.
Had to create DBD::mysql::db::imp_data_size unexpectedly at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm line 1259, <DATA> line 225.
Use of uninitialized value in subroutine entry at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm line 1259, <DATA> line 225.
There was an error connecting to MySQL:

    Undefined subroutine &DBD::mysql::db::_login called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBD/mysql.pm line 142, <DATA> line 225.

MySQL Version:

[root@bugzilla-core TMP]# mysql --version
Mysql  Ver 14.12 Distrib 5.0.60sp1, for redhat-linux-gnu (x86_64) using readline 5.1

And mysql_config:

[root@bugzilla-core TMP]# mysql_config
Usage: /data01/mysql-5.0.60/bin/mysql_config [OPTIONS]
Options:
        --cflags         [-I/data01/mysql-5.0.60/include  -g]
        --include        [-I/data01/mysql-5.0.60/include]
        --libs           [-rdynamic -L/data01/mysql-5.0.60/lib -lmysqlclient -lz -lcrypt -lnsl -lm -lmygcc]
        --libs_r         [-rdynamic -L/data01/mysql-5.0.60/lib -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lmygcc]
        --socket         [/tmp/mysql.sock]
        --port           [0]
        --version        [5.0.60sp1]
        --libmysqld-libs [-rdynamic -L/data01/mysql-5.0.60/lib -lmysqld -lz -lpthread -lcrypt -lnsl -lm -lpthread -lrt -lmygcc]

Now, I've tried the latest version of DBD-mysql (4.0.14). I'm completely lost and stumped. I'm not sure where to go from here. Scouring the 'webs haven't returned anything fruitful.

Any ideas?

Nabeel

Posted 2010-05-04T16:17:56.677

Reputation:

Answers

1

there is a possibly related topic over at ServerFault. That said, this strikes me as possibly being a 32bit/64bit mix match problem - maybe a wrong RPM installed or something like that. Maybe try building dbd-mysql from source?

Mike Ellery

Posted 2010-05-04T16:17:56.677

Reputation:

0

You must always build DBD::mysql against the version of MySQL you are using, on the platform you are on.

Max Kanat-Alexander

Posted 2010-05-04T16:17:56.677

Reputation: 181