MySQL 5.5.15が2011年7月28日にリリースされましたので、バージョンアップを行いました。
ちなみに、現在はCentOS 32bit版での運用を行っております。
なお、変更点については下記を参照してください。
1.新しいパッケージファイルのダウンロード
[root ~]# wget http://rpms.famillecollet.com/enterprise/5/remi/i386/mysql-5.5.15-1.el5.remi.i386.rpm [root ~]# wget http://rpms.famillecollet.com/enterprise/5/remi/i386/mysql-libs-5.5.15-1.el5.remi.i386.rpm [root ~]# wget http://rpms.famillecollet.com/enterprise/5/remi/i386/mysql-server-5.5.15-1.el5.remi.i386.rpm
2.MySQLのシャットダウン
[root ~]# service mysqld stop mysqld を停止中: [ OK ]
3.新しいパッケージファイルのインストール
[root ~]# yum install mysql-5.5.15-1.el5.remi.i386.rpm mysql-server-5.5.15-1.el5.remi.i386.rpm mysql-libs-5.5.15-1.el5.remi.i386.rpm Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: rsync.atworks.co.jp * epel: ftp.iij.ad.jp * extras: rsync.atworks.co.jp * rpmforge: apt.sw.be * updates: rsync.atworks.co.jp 1497 packages excluded due to repository priority protections Setting up Install Process Examining mysql-5.5.15-1.el5.remi.i386.rpm: mysql-5.5.15-1.el5.remi.i386 Marking mysql-5.5.15-1.el5.remi.i386.rpm as an update to mysql-5.5.14-1.el5.remi.i386 Examining mysql-server-5.5.15-1.el5.remi.i386.rpm: mysql-server-5.5.14-1.el5.remi.i386 Marking mysql-server-5.5.15-1.el5.remi.i386.rpm as an update to mysql-server-5.5.14-1.el5.remi.i386 Examining mysql-libs-5.5.15-1.el5.remi.i386.rpm: mysql-libs-5.5.15-1.el5.remi.i386 Marking mysql-libs-5.5.15-1.el5.remi.i386.rpm as an update to mysql-libs-5.5.14-1.el5.remi.i386 Resolving Dependencies --> Running transaction check ---> Package mysql.i386 0:5.5.15-1.el5.remi set to be updated ---> Package mysql-libs.i386 0:5.5.15-1.el5.remi set to be updated ---> Package mysql-server.i386 0:5.5.15-1.el5.remi set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================== Package Arch Version Repository Size ============================================================================== Updating: mysql i386 5.5.15-1.el5.remi /mysql-5.5.15-1.el5.remi.i386 28 M mysql-libs i386 5.5.15-1.el5.remi /mysql-libs-5.5.15-1.el5.remi.i386 3.9 M mysql-server i386 5.5.15-1.el5.remi /mysql-server-5.5.15-1.el5.remi.i386 42 M Transaction Summary ============================================================================== Install 0 Package(s) Upgrade 3 Package(s) Total size: 73 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-server 5/6 Cleanup : mysql-libs 6/6 Updated: mysql.i386 0:5.5.15-1.el5.remi mysql-libs.i386 0:5.5.15-1.el5.remi mysql-server.i386 0:5.5.15-1.el5.remi Complete!
4.MySQLのスタートアップ
[root ~]# service mysqld start mysqld を起動中: [ OK ]
5.MySQLのバージョン確認
[root ~]# mysql -V mysql Ver 14.14 Distrib 5.5.15, for Linux (i686) using readline 5.1