Ask a Question related to Coldfusion Database Access, Design and Development.
-
pogothedog1000 #1
MySql connect error
I'm using CF MX7 (developer version) with MySQL 4.1.12 on Mac OSX Tiger.
I have followed the instructions here: [url]http://www.macromedia.com/go/6ef0253[/url]
to update the driver because of the error:
'Connection verification failed for data source: mysql_bad
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?'
The JDBC driver comes up in the data sources window with an 'OK' status.
The details of JDBC are as follows:
CF Data Source Name JDBC
JDBC URL
jdbc:mysql://localhost:3306/learningcoldfusion
Driver Class com.mysql.jdbc.Driver
Driver Name [blank]
User Name scott
Password ************
Description [blank]
The details of the MySql data source are as follows:
MySQL (3.x) : learningcoldfusion
CF Data Source Name learningcoldfusion
Database learningcoldfusion
Server: localhost Port : 3306
Username scott
Password (16-character limit) *********
Description [blank]
I'm still getting the error:
'Connection verification failed for data source:
learningcoldfusion
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?'
when I try to verify the 'learningcoldfusion' database.
I get the same error whether or not the OSX firewall is on or off.
Any help would be greatly appreciated.
Thanks
Scott
pogothedog1000 Guest
-
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost'(10061)
I've had 4.1 installed for over a year and for all this time have been connecting successfully from Tomcat and Java stand-alone classes.. now just... -
Error In Using Perl To Connect To MySQL
OS: Windows XP SP2 Perl version : v5.8.7 built for MSWin32-x86-multi-thread MySQL version : server: 5.0.21-community-nt MySQL version : client:... -
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
Mysql_(p)connect error using PHP/Mysql
I am trying to get Dreamweaver to use PHP(5.0.3)/MySQL (4.1) and using an apache web server. Cool, BUT when i try to make my datrabase connection i... -
MySQL on non standard port yields error 111 on connect
I am trying to connect to MySQL running on a port other than 3306. Port 8123 in my case. I have tried this:...



Reply With Quote

