我知道有很多人已经问过这个,但是这个人大多都忘记了防火墙阻塞的密码,我没有这种情况.
我正在使用php进行开发,我需要连接到远程数据库以让我所有的团队都能使用它.
localhost刚刚好了,但是当我试图切换时它给了我这个错误
No connection could be made because the target machine actively
refused it.
这是我想要连接到.nf.biz数据库的代码:
$db=mysqli_connect($host,$user,$password,$db_name,3306);