centos6.4 安装mysql5.6.21

来源:互联网 发布:国外云计算公司 编辑:程序博客网 时间:2024/04/30 04:34
  1. Go to the Download MySQL Yum Repository page (http://dev.mysql.com/downloads/repo/yum/) in the MySQL Developer Zone.

  2. Select and download the release package for your platform.

  3. shell> sudo yum localinstall mysql-community-release-el6-{version-number}.noarch.rpm 

  4. shell> sudo yum install mysql-community-server 

create user 'jason'@'%' identified by '123456';
grant all privileges on sunshine to jason@'%';


0 0