Minor issue upgrading to ART mySQL 4.1.21-2
Posted: Sun Nov 26, 2006 5:51 pm
Just thought I would jot this down, might be of use to someone else.
Had a small issue upgrading my Plesk 7.5.4 CentOS3 box from ART mySQL 4.1.15 to 4.1.21-2 using yum.
Stopped mysql process.
Issuing "yum upgrade mysql" worked fine, all packages downloaded and installed as expected - warning issued about "my.cnf.rpmnew" being written, no problem there.
Looked at my.cnf vs. my.cnf.rpmnew, didnt see any issues there so left alone.
Then trying to restart mysql failed. Checking logs showed an issue trying to init the database. After then moving around my mySQL innoDB files only, I still could not restart, but got messages in the error log about issues with BDB (Berkeley DB), so a bit of googling turned up this bit of info.
http://bugs.centos.org/view.php?id=869
Adding the --skip-bdb switch and bringing in my existing innoDB data files and all was good again in the world - phew!
Failing that, my last option was to kill my full mySQL data folder and allow mySQL to recreate it automagically via the /usr/bin/mysql_install_db command then restore my database data, but I don't know if that actually would have got around the BDB problems anyway?
Just curious, has anyone else have similar issues moving to mySQL 4.1.21 on CentOS?
Had a small issue upgrading my Plesk 7.5.4 CentOS3 box from ART mySQL 4.1.15 to 4.1.21-2 using yum.
Stopped mysql process.
Issuing "yum upgrade mysql" worked fine, all packages downloaded and installed as expected - warning issued about "my.cnf.rpmnew" being written, no problem there.
Looked at my.cnf vs. my.cnf.rpmnew, didnt see any issues there so left alone.
Then trying to restart mysql failed. Checking logs showed an issue trying to init the database. After then moving around my mySQL innoDB files only, I still could not restart, but got messages in the error log about issues with BDB (Berkeley DB), so a bit of googling turned up this bit of info.
http://bugs.centos.org/view.php?id=869
Adding the --skip-bdb switch and bringing in my existing innoDB data files and all was good again in the world - phew!
Failing that, my last option was to kill my full mySQL data folder and allow mySQL to recreate it automagically via the /usr/bin/mysql_install_db command then restore my database data, but I don't know if that actually would have got around the BDB problems anyway?
Just curious, has anyone else have similar issues moving to mySQL 4.1.21 on CentOS?