3

我无法让我的 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.

谁能帮我解决这个问题?

4

1 回答 1

3

我有同样的东西,用 Adob​​e 提出的,没有人可以复制它。

最后,我回滚到 CF9 附带的 MySQL 驱动程序版本,并且它工作正常。可能尝试一下。

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

于 2012-11-03T08:28:06.940 回答