JDBC Tutorials - Herong's Tutorial Notes
Dr. Herong Yang, Version 2.11

MySQL JDBC Driver (MySQL Connector/J)

This chapter provides tutorial notes on MySQL JDBC driver. Topics include installing MySQL JDBC driver; connection URL and DriverManager class; DataSource and Connection objects; server and driver information; creating tables with auto-increment columns.

MySQL Connector/J - Download and Installation

Loading JDBC Driver Class - mysql-connector-java-5.0.7-bin.jar

JDBC Driver Connection URL

Creating Connections with DataSource Class

Getting Driver and Server Information

Creating Tables with AUTO_INCREMENT Columns

"INSERT INTO" Statements

Dr. Herong Yang, updated in 2007
MySQL JDBC Driver (MySQL Connector/J)