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