mysql远程连接报1130

原因:远程连接没有权限 解决方法:设置ip权限 1、使用本地连接mysql mysql -u root -p 2、使用mysql库 mysql>use mysql; 3、查询root用户的host mysql>select ‘host’ from user where user=‘root’; 4、更新root用户的host为% mysql>update user set host = ‘%’ w
相关文章
相关标签/搜索