本地没法链接服务器mysql数据库

防火墙打开3306端口后,输入 grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;  便可,123456是登陆密码 %是设置均可以访问。 设置后也能够刷新一下权限,不刷新应该也能够 FLUSH PRIVILEGES; 刷新权限。 在从新连接便可
相关文章
相关标签/搜索