Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JDBC and Relational Databases 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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
I agree. Here's the link:
subject: Problems connecting to MySQL.