wood burning stoves 2.0
The moose likes JDBC and Relational Databases and the fly likes Connection to MySQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection to MySQL" Watch "Connection to MySQL" New topic

Connection to MySQL

Patrick Mugabe
Ranch Hand

Joined: Jan 08, 2002
Posts: 132
Please assist me on how I can connect to MySQL database.
I know how to connect to Access and SQLServer.
Infact I just want to know how I load the database driver for MySQL.
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Hey Patrick, did you get that JTable working?
As for the JDBC driver for MYSql, as the Perl community says: "There's More Than One Way". Which driver are you using? If you have MySQL Connector/J, the syntax to load the driver is:

[How To Ask Questions On JavaRanch]
Patrick Mugabe
Ranch Hand

Joined: Jan 08, 2002
Posts: 132
Thanks so much.
Oh, about that JTable I got it working.
I was very happy, I have learnt something new
Malhar Barai
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
There's one more...


Malhar Barai
SOA & Java Book
yub huang

Joined: Jun 08, 2002
Posts: 17
hi,how can i get the two driver and how can i make it works?
i am a first leaner to the connection of mysql.
thanks a lot!

I want to know
I agree. Here's the link: http://aspose.com/file-tools
subject: Connection to MySQL
It's not a secret anymore!