User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Oct 2006
Posts: 15
Reputation: irotsenmar is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
irotsenmar irotsenmar is offline Offline
Newbie Poster

coldfusion administrator error

  #1  
Nov 14th, 2006
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?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Posts: 15
Reputation: irotsenmar is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
irotsenmar irotsenmar is offline Offline
Newbie Poster

Re: coldfusion administrator error

  #2  
Nov 14th, 2006
nevermind got the solution right here:

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
Steps to Configure ColdFusion MX for MySQL
  1. Download the MySQL Connector J JDBC driver
  2. 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.
  3. Restart CFMX server
  4. Add new datasource using the driver option Other (Not the MySQL driver!)
  5. Add the JDBC URL: jdbc:mysql://[host]:[port]/[database]
  6. Add the Driver Class: com.mysql.jdbc.Driver
  7. Complete username/password, and adjust other dsn settings if needed.
  8. Submit datasource for verification
Last edited by irotsenmar : Nov 14th, 2006 at 12:21 pm.
Reply With Quote  
Join Date: Nov 2006
Location: South Wales
Posts: 159
Reputation: phper is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 11
phper's Avatar
phper phper is offline Offline
Junior Poster

Re: coldfusion administrator error

  #3  
Dec 1st, 2006
You need to download the J Connector. Search google for it
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ColdFusion Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 12:56 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC