MySQL 5.5.10 へのバージョンアップ( 5.5.9 ⇒ 5.5.10)

2011年3月15日にリリースされたMySQL 5.5.10へのバージョンアップを行いましたので、その手順を(単なるログに近いものですが)掲載します。

なお、変更点については下記を参照してください。

1.新しいパッケージファイルのダウンロード
[root ~]# wget http://rpms.famillecollet.com/enterprise/5/test/i386/mysql-5.5.10-1.el5.remi.i386.rpm
[root ~]# wget http://rpms.famillecollet.com/enterprise/5/test/i386/mysql-libs-5.5.10-1.el5.remi.i386.rpm
[root ~]# wget http://rpms.famillecollet.com/enterprise/5/test/i386/mysql-server-5.5.10-1.el5.remi.i386.rpm
2.MySQLのシャットダウン
[root ~]# service mysqld stop
mysqld を停止中:                                           [  OK  ]
3.新しいパッケージファイルのインストール
[root ~]# yum install mysql-5.5.10-1.el5.remi.i386.rpm mysql-server-5.5.10-1.el5.remi.i386.rpm mysql-libs-5.5.10-1.el5.remi.i386.rpm
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: ftp.iij.ad.jp
 * base: ftp.iij.ad.jp
 * epel: ftp.kddilabs.jp
 * extras: ftp.iij.ad.jp
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: ftp.iij.ad.jp
3762 packages excluded due to repository priority protections
Setting up Install Process
Examining mysql-5.5.10-1.el5.remi.i386.rpm: mysql-5.5.10-1.el5.remi.i386
Marking mysql-5.5.10-1.el5.remi.i386.rpm as an update to mysql-5.5.9-1.el5.remi.i386
Examining mysql-server-5.5.10-1.el5.remi.i386.rpm: mysql-server-5.5.10-1.el5.remi.i386
Marking mysql-server-5.5.10-1.el5.remi.i386.rpm as an update to mysql-server-5.5.9-1.el5.remi.i386
Examining mysql-libs-5.5.10-1.el5.remi.i386.rpm: mysql-libs-5.5.10-1.el5.remi.i386
Marking mysql-libs-5.5.10-1.el5.remi.i386.rpm as an update to mysql-libs-5.5.9-1.el5.remi.i386
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.5.10-1.el5.remi set to be updated
---> Package mysql-libs.i386 0:5.5.10-1.el5.remi set to be updated
---> Package mysql-server.i386 0:5.5.10-1.el5.remi set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package      Arch Version           Repository                            Size
================================================================================
Updating:
 mysql        i386 5.5.10-1.el5.remi /mysql-5.5.10-1.el5.remi.i386         28 M
 mysql-libs   i386 5.5.10-1.el5.remi /mysql-libs-5.5.10-1.el5.remi.i386   4.0 M
 mysql-server i386 5.5.10-1.el5.remi /mysql-server-5.5.10-1.el5.remi.i386  42 M

Transaction Summary
================================================================================
Install       0 Package(s)
Upgrade       3 Package(s)

Total size: 74 M
Is this ok [y/N]: N
Exiting on user Command
Complete!
[root ~]# yum list installed | grep mysql
compat-mysql51.i386                       5.1.54-1.el5.remi            installed
mysql.i386                                5.5.9-1.el5.remi             installed
mysql-libs.i386                           5.5.9-1.el5.remi             installed
mysql-server.i386                         5.5.9-1.el5.remi             installed
mysqlclient15.i386                        5.0.67-1.el5.remi            installed
php-mysql.i386                            5.3.6-1.el5.remi             installed
[root ~]# yum install mysql-5.5.10-1.el5.remi.i386.rpm mysql-server-5.5.10-1.el5.remi.i386.rpm mysql-libs-5.5.10-1.el5.remi.i386.rpm
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: ftp.iij.ad.jp
 * base: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: ftp.iij.ad.jp
3762 packages excluded due to repository priority protections
Setting up Install Process
Examining mysql-5.5.10-1.el5.remi.i386.rpm: mysql-5.5.10-1.el5.remi.i386
Marking mysql-5.5.10-1.el5.remi.i386.rpm as an update to mysql-5.5.9-1.el5.remi.i386
Examining mysql-server-5.5.10-1.el5.remi.i386.rpm: mysql-server-5.5.10-1.el5.remi.i386
Marking mysql-server-5.5.10-1.el5.remi.i386.rpm as an update to mysql-server-5.5.9-1.el5.remi.i386
Examining mysql-libs-5.5.10-1.el5.remi.i386.rpm: mysql-libs-5.5.10-1.el5.remi.i386
Marking mysql-libs-5.5.10-1.el5.remi.i386.rpm as an update to mysql-libs-5.5.9-1.el5.remi.i386
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.5.10-1.el5.remi set to be updated
---> Package mysql-libs.i386 0:5.5.10-1.el5.remi set to be updated
---> Package mysql-server.i386 0:5.5.10-1.el5.remi set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package      Arch Version           Repository                            Size
================================================================================
Updating:
 mysql        i386 5.5.10-1.el5.remi /mysql-5.5.10-1.el5.remi.i386         28 M
 mysql-libs   i386 5.5.10-1.el5.remi /mysql-libs-5.5.10-1.el5.remi.i386   4.0 M
 mysql-server i386 5.5.10-1.el5.remi /mysql-server-5.5.10-1.el5.remi.i386  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
warning: /etc/my.cnf created as /etc/my.cnf.rpmnew
  Updating       : mysql                                                    2/6
  Updating       : mysql-server                                             3/6
  Cleanup        : mysql-libs                                               4/6
  Cleanup        : mysql                                                    5/6
  Cleanup        : mysql-server                                             6/6

Updated:
  mysql.i386 0:5.5.10-1.el5.remi          mysql-libs.i386 0:5.5.10-1.el5.remi
  mysql-server.i386 0:5.5.10-1.el5.remi

Complete!
4.MySQLのスタートアップ
[root ~]# service mysqld start
mysqld を起動中:                                           [  OK  ]
5.MySQLのバージョン確認
[root ~]# mysql -V
mysql  Ver 14.14 Distrib 5.5.10, for Linux (i686) using readline 5.1

Comments are closed.