Question #232092

How to connect Java application with and Mysql database using JDBC?


Expert's answer

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.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS