Re: How to access a MySQL database from Java code?



azsx wrote:
Please help me learn how can I create a MySQl database and then
modify/update it with Java. Please give me some helpfull code...


I found that Googling for JDBC throws up some helpful code.

Third item:

"This document illustrates the basics of the JDBC (Java Database Connectivity) API (Application Program Interface). Here, you will learn to use the basic JDBC API to create tables, insert values, query tables, retrieve results, update tables, create prepared statements, perform transactions and catch exceptions and errors.

This document draws from the official Sun tutorial on JDBC Basics. "
.



Relevant Pages