更新时间:2023-02-07 21:07:37
从另一台机器访问 mysql 时,您必须考虑多种因素 -
There is multiple things you have to take into consideration while accessing mysql from another machine some them are -
假设你写了正确的代码
1.更改mysql配置(my.ini)以接收来自所有IP的数据包
2.在托管Mysql的机器上为端口3306添加防火墙例外
3.用户名密码正确并被授予适当的权限.
PS:-请勿在公共论坛上共享服务器凭据