0

How to connect to MySQL using JDBC

Background

This article demonstrates how to connect to MySQL using JDBC.

Software Environment

  • Windows 7 Professional SP1
  • MySQL 5.6.16 – Community Server (GPL)
  • MySQL Java Connector 5.1.34

The Codes