您的位置:首页 > 运维架构 > Linux

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

2016-09-01 19:26 816 查看
1、centOS6.3下安装mysql5.6详解
https://yq.aliyun.com/articles/48988
2、修改mysql root用户的默认密码
http://www.jianshu.com/p/ae78ce8d8e14
3、配置远程连接

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

mysql -u root -p
use 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: