我正在尝试连接到服务器上托管的mysql。使用的面板是cpanel。但是我无法连接到数据库。使用xamp在本地系统上运行php代码。错误在下面。Warning: mysql_connect(): A connection attempt failed because the connected party did not properly respondfailed because connected host has failed to respond. in C:\xampp\htdocs\index.php on line 2
Wa
当我尝试运行PHP MySQL脚本时,我遇到了这个问题。当我尝试运行我的.php文件时,得到的结果是这样的。mysql_connect(): No connection could be made because the target machine actively refused itmysql_connect("localhost","root");
mysql_select_db("user
8")conn = mysql.connector.connect(host='localhost:8051',\connector\__init__.py", line 179, in connect File "C:\Python34\lib\site-packages\mysql\connector\connection.py", line 95,