mysql - ColdFusion 数据源未正确连接

标签 mysql coldfusion datasource coldfusion-9 cfadmin

我正在尝试创建一个数据源来连接到 MySQL 数据库。当我输入所有信息时,出现此错误:

Connection verification failed for data source: phoenix3 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. The root cause was that: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

我似乎无法修复它。有什么建议吗?

最佳答案

检查您在 mySql 中的设置以获得最大连接数。

http://forums.mysql.com/read.php?39,181940,226710#msg-226710

可能 MySql 出于某种原因阻止了您的 CFserver,可能是您的 cf 用户登录失败次数过多?如果是这样,请尝试刷新您的主机。

http://www.oscararevalo.com/index.cfm/2010/10/28/Getting-MySQLNonTransientConnectionException-errors-Then-Your-MySQL-Server-Might-Be-Angry-At-You

关于mysql - ColdFusion 数据源未正确连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6118445/

相关文章:

php - 使用 mysql_fetch_assoc 获取数组

resources - 英文名字和姓氏的数据库或列表

MySQL 查询返回重复结果

MYSQL如何声明一个日期时间变量?

regex - 使用正则表达式去除不在列表中的每个字符

windows - Windows Server 2008 的 FaxServer 替代品

amazon-web-services - 创建新存储桶或使用 OpenBD 检查存储桶是否存在时,某些功能似乎不存在

database - 在配置的阻塞超时内没有可用的托管连接(JBoss 7 和 Postgres)

ios - 将数据源设置为 UITableView 时出现运行时错误

python - 循环内的 INSERT 未按我的预期工作(Python 2.7)