mysql 另外电脑的客户端不能连接的问题解决

xiaoxiao2026-06-21  19

1、登录 mysql -u root -p 2、选择数据库 mysql>use mysql; 3、查看root的host mysql>select 'host' from user where user='root'; 4、将host修改为% mysql>update user set host = '%' where user ='root'; 5、刷新权限 mysql>flush privileges; 6、确认 mysql>select 'host' from user where user='root'; 相关资源:敏捷开发V1.0.pptx
转载请注明原文地址: https://www.6miu.com/read-5050537.html

最新回复(0)