How to connect MySql database using JDBC from Java. Using JDBC API developers can connect to a database, execute SQL statements on the database, and manipulate any data that is returned as a result of the execution of a database statement. The JDBC driver