aspose file tools*
The moose likes JDBC 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
Bookmark "Connection to MySQL" Watch "Connection to MySQL" New topic
Author

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
Bartender

Joined: Oct 29, 2001
Posts: 8968
    
    9

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
Author
Ranch Hand

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

hth
MB


Malhar Barai
SOA & Java Book
yub huang
Greenhorn

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