dbTalk Databases Forums  

Connection of Coldfusion to a database MySQL

comp.databases.mysql comp.databases.mysql


Discuss Connection of Coldfusion to a database MySQL in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dede
 
Posts: n/a

Default Connection of Coldfusion to a database MySQL - 12-26-2006 , 10:08 AM






Hello,

I Try to connect in cold fusion an database MySQL.

schema : test
user : test
pswd : test1234

One table : agent

Impossible to connect. I have the following error message:

Connection verification failed for data source: test
[]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?


Installation version of MySQL : 5.0.27
ColdFusion version: MX 6.01
Windows 2000 Professional

Actually, I have read the Adobe and MySQL Internet site and follow
all procedure. I have also downloaded the last and previous versions
of ODBC driver. If I use ODBC, the system hangs when I push on "test"
button.

file downloaded:

mysql-5.0.15-win32.zip
mysql-5.0.27-win32.zip

I tried the 2 versions (without result)

mysql-connector-java-3.1.11.zip
mysql-connector-java-3.1.14.zip
mysql-connector-java-5.0.4.zip

for the jar file, I tried the file in the following directories:

ColdFusion\wwwroot\WEB-INF\lib
ColdFusion\runtime\jre\lib
ColdFusion\runtime\jre\lib\ext
Java\jre1.5.0_05\lib
Java\jre1.5.0_05\lib\ext

(without result)

MyODBC-3.51.10-2-win.exe
MyODBC-3.51.11-1-win.exe
mysql-connector-odbc-3.51.12-win32.zip

Each file make the system to hang

I have tested all files above without result ....

What to do?????

I'm loss....

Help Help Help .....

Andre


Reply With Quote
  #2  
Old   
Jonathan Roberts
 
Posts: n/a

Default Re: Connection of Coldfusion to a database MySQL - 12-26-2006 , 06:27 PM






Dede wrote:
Quote:
Hello,

I Try to connect in cold fusion an database MySQL.

schema : test
user : test
pswd : test1234

One table : agent

Impossible to connect. I have the following error message:

Connection verification failed for data source: test
[]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?


Installation version of MySQL : 5.0.27
ColdFusion version: MX 6.01
Windows 2000 Professional

Actually, I have read the Adobe and MySQL Internet site and follow
all procedure. I have also downloaded the last and previous versions
of ODBC driver. If I use ODBC, the system hangs when I push on "test"
button.

file downloaded:

mysql-5.0.15-win32.zip
mysql-5.0.27-win32.zip

I tried the 2 versions (without result)

mysql-connector-java-3.1.11.zip
mysql-connector-java-3.1.14.zip
mysql-connector-java-5.0.4.zip

for the jar file, I tried the file in the following directories:

ColdFusion\wwwroot\WEB-INF\lib
ColdFusion\runtime\jre\lib
ColdFusion\runtime\jre\lib\ext
Java\jre1.5.0_05\lib
Java\jre1.5.0_05\lib\ext

(without result)

MyODBC-3.51.10-2-win.exe
MyODBC-3.51.11-1-win.exe
mysql-connector-odbc-3.51.12-win32.zip

Each file make the system to hang

I have tested all files above without result ....

What to do?????

I'm loss....

Help Help Help .....

Andre

Does your ODBC connection work at all? ie. test it outside of CF and
see if it works?


Reply With Quote
  #3  
Old   
Dede
 
Posts: n/a

Default Re: Connection of Coldfusion to a database MySQL - 12-27-2006 , 02:32 PM



Hello,

I would like to thanks for your reaction.

I tried to connect the table Mysql under access, all is ok until I
push on the "Test" button for testing the connection. At this moment,
ODBC crash (not responding). If I don't push the button, the table is
added in access but I can't read any data.

Today, I have removed ColdFusion and MySQL and reinstall.
The problem stay !... I dont understand...


Now, other question:

ColdFusion MX 6.01 is compatible with MySQL 5.0???

Andre




On Tue, 26 Dec 2006 18:27:37 -0600, Jonathan Roberts
<gremln007 (AT) diynics (DOT) com> wrote:


Quote:

Installation version of MySQL : 5.0.27
ColdFusion version: MX 6.01
Windows 2000 Professional

Actually, I have read the Adobe and MySQL Internet site and follow
all procedure. I have also downloaded the last and previous versions
of ODBC driver. If I use ODBC, the system hangs when I push on "test"
button.

file downloaded:

mysql-5.0.15-win32.zip
mysql-5.0.27-win32.zip

I tried the 2 versions (without result)

mysql-connector-java-3.1.11.zip
mysql-connector-java-3.1.14.zip
mysql-connector-java-5.0.4.zip

for the jar file, I tried the file in the following directories:

ColdFusion\wwwroot\WEB-INF\lib
ColdFusion\runtime\jre\lib
ColdFusion\runtime\jre\lib\ext
Java\jre1.5.0_05\lib
Java\jre1.5.0_05\lib\ext

(without result)

MyODBC-3.51.10-2-win.exe
MyODBC-3.51.11-1-win.exe
mysql-connector-odbc-3.51.12-win32.zip

Each file make the system to hang

I have tested all files above without result ....

What to do?????

I'm loss....

Help Help Help .....

Andre

Does your ODBC connection work at all? ie. test it outside of CF and
see if it works?


Reply With Quote
  #4  
Old   
Jonathan Roberts
 
Posts: n/a

Default Re: Connection of Coldfusion to a database MySQL - 12-27-2006 , 06:50 PM



Dede wrote:
Quote:
Hello,

I would like to thanks for your reaction.

I tried to connect the table Mysql under access, all is ok until I
push on the "Test" button for testing the connection. At this moment,
ODBC crash (not responding). If I don't push the button, the table is
added in access but I can't read any data.

Today, I have removed ColdFusion and MySQL and reinstall.
The problem stay !... I dont understand...


Now, other question:

ColdFusion MX 6.01 is compatible with MySQL 5.0???

Andre
Does your ODBC connection work at all? ie. test it outside of CF and
see if it works?

Have you been able to access the database AT ALL? For example, try
PHPMYADMIN or similar.


Reply With Quote
  #5  
Old   
Dede
 
Posts: n/a

Default Re: Connection of Coldfusion to a database MySQL - 12-28-2006 , 06:43 AM



with MySQL administrator .... Yes

But from outside of MySQL ... No


On Wed, 27 Dec 2006 18:50:11 -0600, Jonathan Roberts
<gremln007 (AT) diynics (DOT) com> wrote:

Quote:
Dede wrote:
Hello,

I would like to thanks for your reaction.

I tried to connect the table Mysql under access, all is ok until I
push on the "Test" button for testing the connection. At this moment,
ODBC crash (not responding). If I don't push the button, the table is
added in access but I can't read any data.

Today, I have removed ColdFusion and MySQL and reinstall.
The problem stay !... I dont understand...


Now, other question:

ColdFusion MX 6.01 is compatible with MySQL 5.0???

Andre
Does your ODBC connection work at all? ie. test it outside of CF and
see if it works?


Have you been able to access the database AT ALL? For example, try
PHPMYADMIN or similar.


Reply With Quote
  #6  
Old   
Jonathan Roberts
 
Posts: n/a

Default Re: Connection of Coldfusion to a database MySQL - 12-28-2006 , 08:07 AM



Dede wrote:
Quote:
with MySQL administrator .... Yes

But from outside of MySQL ... No

Ok, that makes me think you have a listening/firewall issue. Have you
verified what port it is using? Also, make sure there are no firewalls
blocking access to the port.


Reply With Quote
  #7  
Old   
Dede
 
Posts: n/a

Default Re: Connection of Coldfusion to a database MySQL - 01-02-2007 , 01:26 PM



Happy new year for you and your familly

Actualy, for testing MySQL, I have stopped ZoneAlarm because I don't
known how to open a port in ZoneAlarm.

Now, my brother have tested on other computer with the same OS
(Windows 2000) and all work fine. I don't understand.

It is possible a problem with Windows 2000???

Andre


On Thu, 28 Dec 2006 08:07:56 -0600, Jonathan Roberts
<gremln007 (AT) diynics (DOT) com> wrote:

Quote:
Dede wrote:
with MySQL administrator .... Yes

But from outside of MySQL ... No


Ok, that makes me think you have a listening/firewall issue. Have you
verified what port it is using? Also, make sure there are no firewalls
blocking access to the port.


Reply With Quote
  #8  
Old   
Jonathan Roberts
 
Posts: n/a

Default Re: Connection of Coldfusion to a database MySQL - 01-04-2007 , 11:22 PM



Dede wrote:
Quote:
Happy new year for you and your familly

Actualy, for testing MySQL, I have stopped ZoneAlarm because I don't
known how to open a port in ZoneAlarm.
Then I would next check your configuration and make sure it is on the
port you expect.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.