Backed up all of my existing databses
mysqldump --user jestill --all-databases --password >/home/jestill/mysqldump/JamieDbs.dumpCheck what version of MySQL I am actually running
mysql>SELECT version()Stop the server
cd /etc/rc.d/init.dCopied the existing version to a new name.
sudo ./mysql stop
Find what I have currently installed for MySQL
rpm -q -a | grep -i mysqlDelete what I had installed:
rpm -e MySQL-benchDowloaded the rpms for my version of Linux from MySQL. Then installed the new rpms after logging on as root
rpm -e MySQL-server
rpm -e MySQL-devel
rpm -e MySQL-client
rpm -e mysql-connector-odbc-3.511.12-1
rpm -i MySQL-client-standard-4.1.11I then started MySQL back up again to check the version.
rpm -i MySQL -devel-standard-4.1.22
rpm -i MySQL-server-standard-4.1.22
rpm -i MySQL-shared-standard-4.1.22
rpm -i MySQL-shared-compat-4.1.22
mysql>SELECT version();Since I updated MySQL I also updated DBD::MySQL
+-----------------+
| version() |
+-----------------+
| 4.1.22-standard |
+-----------------+
1 row in set (0.01 sec)
cpan
cpan>force DBD::MySQL
No comments:
Post a Comment