7 messages in com.mysql.lists.javaRE: Almost there but can't locate dat...
FromSent OnAttachments
Raymond Tong12 Sep 2000 16:32 
Raymond Tong12 Sep 2000 17:40 
Raymond Tong12 Sep 2000 19:20 
Igor Fedulov12 Sep 2000 19:21 
Igor Fedulov12 Sep 2000 19:24 
Tim Endres12 Sep 2000 19:53 
Raymond Tong13 Sep 2000 00:00 
Subject:RE: Almost there but can't locate database
From:Raymond Tong (outl@earthlink.net)
Date:09/12/2000 05:40:01 PM
List:com.mysql.lists.java

I changed my url string to the following:

"jdbc:mysql://HOSTNAME:3306/DATABASENAME";

and I performed the following command in the mysql monitor:

grant all on DATABASENAME.* to user_name@HOSTNAME identified by 'password';

I now get:

java.sql.SQLException: Communication link failure: Bad Handshake

Bart, Is there a reason why I'm using port 3306 specifically?

-Ray