首页 > 代码库 > Install MySQl 5.6 on CentOS 6.5

Install MySQl 5.6 on CentOS 6.5

rpm -e --nodeps mysql-libs
yum -y install libaio
rpm -ivh MySQL-shared-compat-5.6.20-1.el6.x86_64.rpm
rpm -ivh MySQL-shared-5.6.20-1.el6.x86_64.rpm
rpm -ivh MySQL-server-5.6.20-1.el6.x86_64.rpm
rpm -ivh MySQL-client-5.6.20-1.el6.x86_64.rpm

service mysql start; chkconfig mysql on
cat ~/.mysql_secret for root random password
mysqladmin -uroot -p‘oldpassword‘ password newpassword
mysql_secure_installation

本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1551361

Install MySQl 5.6 on CentOS 6.5