DEV Community

loading...
Cover image for Connect Java with Mysql Database | Java JDBC

Connect Java with Mysql Database | Java JDBC

Arjun Codes
https://www.youtube.com/arjuncodes
・1 min read

To connect Java application with MySQL database using Java JDBC, we follow 5 steps:

  1. Register the Driver class
  2. Create connection
  3. Create statement
  4. Execute queries
  5. Close connection

Go through this video for detailed explanation :

Discussion (0)