- 何もしない状態でyumでMySQLを入れようとしたところバージョンが古かったのでその対応をメモっておく
環境
- Amazon EC2上の CentoOS6.4 64bit
やったこと
- MySQL公式yumリポジトリの追加
- http://dev.mysql.com/downloads/repo/
# バージョンのところは適宜変更すること
$ sudo yum install -y http://repo.mysql.com/mysql-community-release-el6-4.noarch.rpm
- これで最新のMySQLがyumで入れられるようになる
$ sudo yum list | grep mysql-community
mysql-community-release.noarch el6-4 @/mysql-community-release-el6-4.noarch
mysql-community-client.x86_64 5.6.14-3.el6 mysql-community
mysql-community-common.i686 5.6.14-3.el6 mysql-community
mysql-community-common.x86_64 5.6.14-3.el6 mysql-community
mysql-community-devel.i686 5.6.14-3.el6 mysql-community
mysql-community-devel.x86_64 5.6.14-3.el6 mysql-community
mysql-community-embedded.i686 5.6.14-3.el6 mysql-community
mysql-community-embedded.x86_64
5.6.14-3.el6 mysql-community
mysql-community-embedded-devel.i686
5.6.14-3.el6 mysql-community
mysql-community-embedded-devel.x86_64
5.6.14-3.el6 mysql-community
mysql-community-libs.i686 5.6.14-3.el6 mysql-community
mysql-community-libs.x86_64 5.6.14-3.el6 mysql-community
mysql-community-libs-compat.i686
5.6.14-3.el6 mysql-community
mysql-community-libs-compat.x86_64
5.6.14-3.el6 mysql-community
mysql-community-release.noarch el6-5 mysql-community
mysql-community-server.x86_64 5.6.14-3.el6 mysql-community
mysql-community-test.x86_64 5.6.14-3.el6 mysql-community
mysql-connector-odbc.x86_64 5.2.6-1.el6 mysql-community
6.0.8-1.el6 mysql-community