MySQL 5.5.12が2011年5月5日にリリースされました。
早速、MySQL 5.5.12へのバージョンアップを行いましたので、まとめておきます。
なお、変更点については下記を参照してください。
1.新しいパッケージファイルのダウンロード
[root ~]# wget http://rpms.famillecollet.com/enterprise/5/remi/x86_64/mysql-5.5.12-1.el5.remi.x86_64.rpm [root ~]# wget http://rpms.famillecollet.com/enterprise/5/remi/x86_64/mysql-libs-5.5.12-1.el5.remi.x86_64.rpm [root ~]# wget http://rpms.famillecollet.com/enterprise/5/remi/x86_64/mysql-server-5.5.12-1.el5.remi.x86_64.rpm
2.MySQLのシャットダウン
[root ~]# service mysqld stop mysqld を停止中: [ OK ]
3.新しいパッケージファイルのインストール
[root ~]# yum install mysql-5.5.12-1.el5.remi.x86_64.rpm mysql-server-5.5.12-1.el5.remi.x86_64.rpm mysql-libs-5.5.12-1.el5.remi.x86_64.rpm Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * epel: ftp.jaist.ac.jp * extras: www.ftp.ne.jp * rpmforge: ftp-stud.fht-esslingen.de * updates: www.ftp.ne.jp base | 2.1 kB 00:00 epel | 3.7 kB 00:00 extras | 2.1 kB 00:00 rpmforge | 1.1 kB 00:00 updates | 1.9 kB 00:00 vz-base | 951 B 00:00 vz-updates | 951 B 00:00 277 packages excluded due to repository priority protections Setting up Install Process Examining mysql-5.5.12-1.el5.remi.x86_64.rpm: mysql-5.5.12-1.el5.remi.x86_64 Marking mysql-5.5.12-1.el5.remi.x86_64.rpm as an update to mysql-5.5.11-1.el5.remi.x86_64 Examining mysql-server-5.5.12-1.el5.remi.x86_64.rpm: mysql-server-5.5.12-1.el5.remi.x86_64 Marking mysql-server-5.5.12-1.el5.remi.x86_64.rpm as an update to mysql-server-5.5.11-1.el5.remi.x86_64 Examining mysql-libs-5.5.12-1.el5.remi.x86_64.rpm: mysql-libs-5.5.12-1.el5.remi.x86_64 Marking mysql-libs-5.5.12-1.el5.remi.x86_64.rpm as an update to mysql-libs-5.5.11-1.el5.remi.x86_64 Resolving Dependencies --> Running transaction check ---> Package mysql.x86_64 0:5.5.12-1.el5.remi set to be updated ---> Package mysql-libs.x86_64 0:5.5.12-1.el5.remi set to be updated ---> Package mysql-server.x86_64 0:5.5.12-1.el5.remi set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================== Package Arch Version Repository Size ============================================================================== Updating: mysql x86_64 5.5.12-1.el5.remi /mysql-5.5.12-1.el5.remi.x86_64 28 M mysql-libs x86_64 5.5.12-1.el5.remi /mysql-libs-5.5.12-1.el5.remi.x86_64 4.0 M mysql-server x86_64 5.5.12-1.el5.remi /mysql-server-5.5.12-1.el5.remi.x86_64 42 M Transaction Summary ============================================================================== Install 0 Package(s) Upgrade 3 Package(s) Total size: 74 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction WARNING : This MySQL RPM is not an official Fedora/Redhat build and it overrides the official one. Don't file bugs on Fedora Project nor Redhat. Use dedicated forums http://forums.famillecollet.com/ Updating : mysql-libs 1/6 Updating : mysql 2/6 Updating : mysql-server 3/6 Cleanup : mysql 4/6 Cleanup : mysql-libs 5/6 Cleanup : mysql-server 6/6 Updated: mysql.x86_64 0:5.5.12-1.el5.remi mysql-libs.x86_64 0:5.5.12-1.el5.remi mysql-server.x86_64 0:5.5.12-1.el5.remi Complete!
4.MySQLのスタートアップ
[root ~]# service mysqld start mysqld を起動中: [ OK ]
5.MySQLのバージョン確認
[root ~]# mysql -V mysql Ver 14.14 Distrib 5.5.12, for Linux (x86_64) using readline 5.1