1.查询当前root状态,默认root的host是localhost
use mysql;
select user,host from user;
2.update root的host为%
update user set host = '%' where user ='root';
3. 检查客户端windows 的防火墙,关闭防火墙
4. try。
李济宏Amadeus 博主文章分类:MySQL ©著作权
文章标签 mysql 客户端 文章分类 JavaScript 前端开发
1.查询当前root状态,默认root的host是localhost
use mysql;
select user,host from user;
2.update root的host为%
update user set host = '%' where user ='root';
3. 检查客户端windows 的防火墙,关闭防火墙
4. try。
安装部署Mysql5.5,授权远程访问,解决部署Mysql错误
grant all privilegeson*.* to'root'@'%'identifiedby'root用户的密码';
在测试环境,想实现MySQL 8 数据库的远程访问授权。传统的方法已经不行,报
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M