•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 426,640 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,570 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums
Views: 4364 | Replies: 2
![]() |
•
•
Join Date: Oct 2006
Posts: 15
Reputation:
Rep Power: 2
Solved Threads: 0
When I try to add a new data source from MySQL I get this error:
Connection verification failed for data source: entry
java.sql.SQLException: Invalid authorization specification: Access denied for user 'root'@'localhost' (using password: NO)
The root cause was that: java.sql.SQLException: Invalid authorization specification: Access denied for user 'root'@'localhost' (using password: NO)
root has all global priveleges
when adding the data source i use the username: root and password is blank
any ideas?
but when i enter in the password for MySQL i get this error when adding the data source:
Connection verification failed for data source: entry
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
The root cause was that: java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
Connection verification failed for data source: entry
java.sql.SQLException: Invalid authorization specification: Access denied for user 'root'@'localhost' (using password: NO)
The root cause was that: java.sql.SQLException: Invalid authorization specification: Access denied for user 'root'@'localhost' (using password: NO)
root has all global priveleges
when adding the data source i use the username: root and password is blank
any ideas?
but when i enter in the password for MySQL i get this error when adding the data source:
Connection verification failed for data source: entry
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
The root cause was that: java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
•
•
Join Date: Oct 2006
Posts: 15
Reputation:
Rep Power: 2
Solved Threads: 0
nevermind got the solution right here:
There are two steps to configure ColdFusion MX to use MySQL 5:
There are two steps to configure ColdFusion MX to use MySQL 5:
- Including the MySQL Connector J in the ColdFusion server classpath
- Using the “Other” driver type from the drop down list to specify the driver class com.mysql.jdbc.Driver
- Download the MySQL Connector J JDBC driver
- Make the JDBC driver available to CFMX through the classpath by saving mysql-connector-java-3.0-bin.jar in either $CFMX_HOME/runtime/servers/lib/ for CFMX Server Configuration or $JRUN_HOME/servers/lib/ for CFMX on JRun Configuration. This makes the driver available to all JRun server instances.
- Restart CFMX server
- Add new datasource using the driver option Other (Not the MySQL driver!)
- Add the JDBC URL: jdbc:mysql://[host]:[port]/[database]
- Add the Driver Class: com.mysql.jdbc.Driver
- Complete username/password, and adjust other dsn settings if needed.
- Submit datasource for verification
Last edited by irotsenmar : Nov 14th, 2006 at 12:21 pm.
![]() |
•
•
•
•
•
•
•
•
DaniWeb ColdFusion Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Admin Error When I Load Illustrator- Can You Help? (Windows Vista)
- CF Running, but no Connection (ColdFusion)
- problem launching administrator (ColdFusion)
- code error (ColdFusion)
- Problems in Dynaform (Form Mail) URGENT HELP (PHP)
- IE 6x Advanced Tab -> Settings Blank (Web Browsers)
Other Threads in the ColdFusion Forum
- Previous Thread: New free crossplattform ColdFusion Engine
- Next Thread: Can someone help me in Coldfusion?


Linear Mode