Ask a Question related to Coldfusion Database Access, Design and Development.
-
morse101 #1
Coldfusion MX 7.x and MYSQL - again
Hi,
would welcome help in connecting Coldfusion MX 7.1 to MYSQL on a
system running:
XP Service Pack 2
Coldfusion MX 7.1 using the inbuilt server for development
I am following the instructions in Coldfusion TechNote 6ef0253 but
without success. I suspect it is me being very stupid but at present
I cannot see the error of my ways.Thus using Data Sources via
Administrator my 'set up' for connection is :
Screen 1
Data Source name javamysql
Drive 'selected' other
[color=blue:fbe8f6c0ed]Screen 2[/color:fbe8f6c0ed]
C.F Data Source name : javamysql
JDBC URL : jdbc:mysql://127.0.0.1:3306/mysql
Driver Class : com.mysql.jdbc.Driver
Driver Name :
mysql-connector-java-3.2.0-alpha-bin.jar
or
mysql-connector-java-3.1.1.0-bin.jar
User Name : set to MYSQL user name
Password : set to MYSQL user password
Both mysql-connector-java ..... files are in
C:\ColdfusionMX7\wwwroot\lib
and
Java Run Time Environment = JRE 1.5.0_04
Every attempt to make the connection gives the following error
message
[color=red:fbe8f6c0ed]Connection verification failed for data source:
javamysql
java.sql.SQLException: No suitable driver available for javamysql,
please check the driver setting in resources file, error: null
The root cause was that: java.sql.SQLException: No suitable driver
available for javamysql, please check the driver setting in resources
file, error: null[/color:fbe8f6c0ed]
Any and all help much appreciated
M
morse101 Guest
-
mysql - coldfusion
how can i translate the following to work in a clodfusion query? i want it to give me the amount of items ordered. the total cost and the total... -
coldfusion mysql
Connection verification failed for data source: coldfusion java.sql.SQLException: Communication failure during handshake. Is there a server running... -
How to use MySQL 5.0 with ColdFusion MX 7?
Hi, I'm currently using MySQL 4.1 with Cold Fusion MX 7 and everything is working fine. Now, MySQL have released the 5.0 version which... -
ColdFusion & MySQL
Hi, I'm a student working on ColdFusion/MySQL project, with a home PC configuration of MySQL 4.1.x, IIS on XP Pro and CF MX 6.1 (Developer... -
ColdFusion MX and mySQL
Hi, I'm having trouble connecting ColdFusion MX (cevelopers edition running on my home win2k PC) to a mySQL database - I just keep getting connection... -
mxstu #2
Re: Coldfusion MX 7.x and MYSQL - again
>Both mysql-connector-java ..... files are in C:\ColdfusionMX7\wwwroot\lib
I'm not running MX7, but I think you should only have one version of the MySQL
Connector/J jar in the directory or MX may get confused about which one to use.
mxstu Guest
-
morse101 #3
re:Coldfusion MX 7.x and MYSQL - again
mxstu - many thanks for the suggestion. I will follow it up and let
you know the outcome!!
M
morse101 Guest
-
morse101 #4
re:Coldfusion MX 7.x and MYSQL - again
mxstu - It worked !!
many thanks
M :D :D
morse101 Guest
-
Unregistered #5
Re: Coldfusion MX 7.x and MYSQL - again
We are having this same issue and we have tried everything suggested above. We have even tried copying the entire contents of the folder that contained mysql-connector-java-3.2.0-alpha-bin.jar into the C:\ColdfusionMX7\wwwroot\lib folder and am still getting the
Connection verification failed for data source: cftest
java.sql.SQLException: No suitable driver available for cftest,
please check the driver setting in resources file, error: null
The root cause was that: java.sql.SQLException: No suitable driver
available for cftest, please check the driver setting in resources
file, error: null
are there any other suggestions for this issue?
We have already reinstalled coldfusion and mysql 5.0 in order to fix a different issue, and now we are finally able to administer the MX7 server, but cannot add the datasource due to the above error. Any help would be greatly appreciated. Thanks.Unregistered Guest



Reply With Quote

