Schema 4.0/4.1 upgrade for MySQL

Is the MySQL schema upgrade for the 3.8.x series absolutely critical?
The perl script provided with RT (upgrade-mysql-schema.pl) requires
DBD::mysql 4.

However, RHEL5 comes with DBD::mysql 3.

I’m having a heck of a time trying to get DBD::mysql4 to install on RHEL5.

What have others done to deal with this?

John Arends wrote:

Is the MySQL schema upgrade for the 3.8.x series absolutely critical?
The perl script provided with RT (upgrade-mysql-schema.pl) requires
DBD::mysql 4.

However, RHEL5 comes with DBD::mysql 3.

I’m having a heck of a time trying to get DBD::mysql4 to install on RHEL5.

What have others done to deal with this?

perl -MCPAN -e “install DBD::Mysql”

Perhaps?

– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================

It fails in all sorts of spectacular ways. I tried doing a manual
install, had trouble with that too. Since this step only needs to be
done once I’m just going to set up a “throw away” virtual machine and
force an RPM to install over the current version and use it to run the
script.

Tom Lahti wrote:

John Arends wrote:

Is the MySQL schema upgrade for the 3.8.x series absolutely critical?
The perl script provided with RT (upgrade-mysql-schema.pl) requires
DBD::mysql 4.

However, RHEL5 comes with DBD::mysql 3.

I’m having a heck of a time trying to get DBD::mysql4 to install on RHEL5.

What have others done to deal with this?

perl -MCPAN -e “install DBD::Mysql”

Perhaps?


– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================

John Arends jarends@illinois.edu
Network Analyst
College of ACES - ITCS
University of Illinois at Urbana-Champaign

John Arends wrote:

It fails in all sorts of spectacular ways. I tried doing a manual
install, had trouble with that too. Since this step only needs to be
done once I’m just going to set up a “throw away” virtual machine and
force an RPM to install over the current version and use it to run the
script.

DBD::mysql building has a test suite that includes actual SQL queries, for
which it needs a database/user/pass to perform the tests. If it doesn’t
have them the tests fail. There’s a way to disable the database tests but I
forget what it is off the top of head.

– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================