A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Databases
»
JDBC
Author
MySQL help
Cyrus Serrano
Ranch Hand
Joined: Sep 29, 2003
Posts: 137
posted
Jul 11, 2005 02:02:00
0
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
posted
Jul 11, 2005 02:18:00
0
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
Similar Threads
Using datasource in netbeans to get connection
Advice of database type is needed
which sql going in database
WA #1.....word association
getting last row
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter