This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problems connecting to MySQL." Watch "Problems connecting to MySQL." New topic

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?

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

Joined: Jan 21, 2001
Posts: 22
Craig, I recently had a similar problem which was solved. See my POST on May 15. Stan Levine
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Problems connecting to MySQL.
Similar Threads
java.sql.SQLException: Communication link failure: null
MYSQL Connection error Plz help
A question about the Applet!
Bad Handshake