File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes MySQL help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MySQL help" Watch "MySQL help" New topic
Author

MySQL help

Cyrus Serrano
Ranch Hand

Joined: Sep 29, 2003
Posts: 137
can anyone give me a sample java code on how to connect to a MySQL database.

thank you.
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
To get things set up, look at the documentation of the MySQL JDBC driver. There is some basic sample code:
http://dev.mysql.com/doc/connector/j/en/index.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MySQL help