mysql设置远程访问

1.使用命令:mysql -u 用户名 -p密码,登录mysql 2.执行命令:grant all privileges on . to ‘root’@’%’ identified by ‘[email protected]’ with grant option; 3.执行命令:FLUSH PRIVILEGES; 4.执行命令:exit 5.这时如果远程连接mysql你会发现还登录不上 那是因为m
相关文章
相关标签/搜索