php - Mysql错误: A connection attempt failed because the connected party did not properly respond

标签 php mysql database-connection dreamweaver

我在第 3 方服务器中有一个 MySQL 数据库。我正尝试在 Dreamweaver 中使用 PHP 从我的本地计算机访问它。但是,我收到以下错误:

MySQL Error #2002: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host failed to respond.

谢谢。

最佳答案

这意味着您无法连接到服务器。检查您连接到正确的 IP 地址,并且您的防火墙配置为允许流量。

关于php - Mysql错误: A connection attempt failed because the connected party did not properly respond,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6818104/

相关文章:

php - sql查询条件检查

javascript - PHP 中的三重引号?

php - php 中的多个 mysql 查询

php - MySQL - 有没有办法保持数据集的引用完整性?

mysql - 在基于 Spring MVC 的应用程序中的 mySQL 数据库中存储和检索日语字符

java - Spring Boot 2.x 中 HikariCP 默认有连接池吗?

php - 如何命名使用创建的新 id 记录上传的文件

php - MySQL : how to create a user and how to access the mysql localhost server using php

postgresql - 管理数以万计的桌面应用程序用户访问 PostgreSQL 数据库的最佳解决方案

java - 声明关闭问题后不允许进行任何操作