From 7bae01e941e0321112d6b4ace4fc4bcb49629276 Mon Sep 17 00:00:00 2001 From: dgorack Date: Fri, 9 Jan 2015 12:33:57 -0800 Subject: [PATCH] Update README.md --- install/centos/README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/install/centos/README.md b/install/centos/README.md index 113cb8e..a4fe550 100644 --- a/install/centos/README.md +++ b/install/centos/README.md @@ -346,16 +346,30 @@ authentication methods. ### 4.2 MySQL +If you already have MySQL installed, ensure you have MySQL version 5.5.14 or later: + + mysql --version + +If installed version is less than 5.5.14, remove it: + + # Also do remove mysql-libs-5.xxx + # We'll not be removing other packages that depend on mysql-lib as we'll be reinstalling a newer version of mysql-lib + yum -y remove mysql mysql-server mysql-devel + rpm -qa mysql-lib* + + # Insert package version number at xxx + rpm -e --nodeps mysql-libs-5.xxx + +Add the Webstatic repo to get MySQL 5.5 + + rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm + Install `mysql` and enable the `mysqld` service to start on boot: - yum install -y mysql-server mysql-devel + yum install -y mysql55w mysql55w-server mysql55w-devel chkconfig mysqld on service mysqld start -Ensure you have MySQL version 5.5.14 or later: - - mysql --version - Secure your installation: mysql_secure_installation