Skip to main content
Feb 7, 2013 1:37 PM UTC
Question

Problem connecting from MX7 on Ubuntu 10.04 to MySQL5.5

Running CFMX7 on an Ubuntu10.04 box - been good for a few years. However, I'm now having trouble connecting to an external MySQL 5.5 server.

Not sure what bits that CF is actually using. I was using mysql-connector-java-3.1.14-bin.jar and when I try to add the datasource in CFIDE ADministrator, I get:

Connection verification failed for data source: psdb

java.sql.SQLException: Access denied for user 'web120-paysys'@'xx-xx-xx-xx.dsl.in-addr.zen.co.uk' (using password: YES)

The root cause was that: java.sql.SQLException: Access denied for user 'web120-paysys'@'xx-xx-xx-xx.dsl.in-addr.zen.co.uk' (using password: YES)

I tried updating the connector to , but that just changes the error message to this:

Connection verification failed for data source: psdb

  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.

Now I don't know if I need to have mysql 5.5 client libraries installed on my base Ubuntu machine or if their capability is built into the connector.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Priyank Shrivastava.
Inspiring
Feb 7, 2013 2:41 PM UTC

Hi Alex,

CFMX 7 is not supported with My SQL 5.5 check the support matix: http://www.adobe.com/products/coldfusion/productinfo/systemreqs/fp_frameset.html

Probably you can make this working with external drivers however that might cause issues.

Thanks

Priyank

Translate
Thanks, Priyank Shrivastava
Feb 7, 2013 3:02 PM UTC

Thanks Priyank. However, that matrix suggests that it's not even compatible with 5.1 and I know that it is!

Anyhow, surely that level of compatibility is determined at the JDBC level - which has nothing to do with ColdFusion?

Translate