mysql>use mysql;
mysql>update user set host = '%' where user ='root'; //or any other user need to remote connect.
mysql>flush privileges;
mysql>select 'host','user' from user where user='root';
mysql>quit
设置MYSQL允许用IP访问
最新推荐文章于 2024-06-07 13:13:32 发布