解决阿里云服务器自己安装的mysql不能链接问题

1.阿里云启用3306端口 2.进入mysql环境   mysql -uroot -p 输入如下两条语句: grant all privileges on *.* to '数据库名'@'%'identified by '数据库登录密码' with grant option; flush privileges; 然后ctrl+z退出mysql 3.执行 service mysql restart 重
相关文章
相关标签/搜索