将本地的mysql数据库设置为允许远程访问

方法一: use mysql; mysql>grant all privileges on . to ‘root’@’%’ with grant option; mysql>update user set password=password(‘密码’) where user=‘root’; mysql>flush privileges; mysql>exit 方法二: 记得要flush privi
相关文章
相关标签/搜索