Original link:
http://www.cnblogs.com/flex_fly/p/3188143.html
1 Installation
yum install mysql mysql-server
2 Start mysql
/usr/bin/mysqld_safe --user=mysql &
At startup, Can not ... socket if the words appear, mysql does not start, use
Command: service mysqld restart # start mysql
3 direct input command mysql, if we can go directly to the installation is successful! ! !
Reference http://www.justwinit.cn/post/5337/
Reproduced in: https: //www.cnblogs.com/flex_fly/p/3188143.html