将MySQL连接到ColdFusion 10时出错

时间:2012-10-31 04:28:33

标签: mysql coldfusion coldfusion-10

我无法将ColdFusion 10数据源连接到MySql v5.xx

对于连接器类型,我正在使用:MySQL(4/5)

我收到此错误:

Connection verification failed for data source: cfMySqlDSN
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.

有人可以帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:3)

我有同样的事情,用Adobe提出它,没有人可以复制它。

最后,我回滚到CF9附带的MySQL驱动程序版本,它运行良好。可能会尝试。

有问题的文件是[ColdFusion dir]/WEB-INF/cfusion/lib/mysql-connector-java-commercial-[some version number]-bin.jar