Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions install/centos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down