MySQL如何让别人远程连接自己的数据库

版权声明:技术交流群:758191639 https://blog.csdn.net/u014131617/article/details/85334855
grant all privileges on *.* to 'root'@'192.168.2.162' identified by 'root';

想让对方ip访问本机mysql需要把对方ip放进去

如何即可用sql连接工具进行连接

猜你喜欢

转载自blog.csdn.net/u014131617/article/details/85334855