This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Problems connecting to MySQL. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Problems connecting to MySQL." Watch "Problems connecting to MySQL." New topic
Author

Problems connecting to MySQL.

Craig Snowbarger
Ranch Hand

Joined: Mar 07, 2001
Posts: 38
I'm trying to connect to MySQL with the code below and I keep getting the error at the bottom. Any ideas?
Code:

Exception:
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Don't you need a user id and password?


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Stan Levine
Greenhorn

Joined: Jan 21, 2001
Posts: 22
Craig, I recently had a similar problem which was solved. See my POST on May 15. Stan Levine
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problems connecting to MySQL.
 
Similar Threads
MYSQL Connection error Plz help
mouseOver
A question about the Applet!
java.sql.SQLException: Communication link failure: null
Bad Handshake