阿里云centos 6.0+安装mysql 5.6,并开启远程连接

来源:互联网 发布:windows内核编程 书籍 编辑:程序博客网 时间:2024/06/05 20:33

1、centOS6.3下安装mysql5.6详解

https://yq.aliyun.com/articles/48988

2、配置远程连接

转自:http://jingyan.baidu.com/article/046a7b3ed85f3ef9c27fa9dc.html

mysql -u root -puse mysql

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
flush privileges;

备注:第二个root为密码


问题定位:

1、解决mysql“Access denied for user 'root'@'localhost'”

http://www.jianshu.com/p/ae78ce8d8e14

2、You must SET PASSWORD before executing this statement的解决方法

http://www.jb51.net/article/39187.htm

3、下载mysql

http://www.cnblogs.com/kerrycode/p/4364465.html

0 0