How to connect Java application with and Mysql database using JDBC?
The following are the steps required to connect Java application to the MySQL database using JDBC
Download and import JDBC packages to the IDE of your choice
Create a connection to the database.
Write a statement instance to perform SQL a query.
Execute the statement instance and return a query in form of ResultSet.
Process and manipulate the ResultSet.
Comments
Leave a comment