Java Connect to MySQL Database Step by Step

Publicado em: 07 Março 2020
no canal de: Code Java
148,201
1.5k

Learn to write Java code that connects to a MySQL database, inserts a row to a table and get all rows from that table.

Here's what you will learn in this video:
- Create a database in MySQL server using MySQL Command Line Client and MySQL Workbench
- Use MySQL JDBC driver (Connector/J): download MySQL JDBC driver manually; and use Maven dependency
- Code a Java Project:
+ Connect to MySQL database server
+ Insert a new row to the database
+ Get all rows from the database
+ Close the connection

Required Software Programs:
+ Java Development Kit (JDK)
+ MySQL Database Community Server
+ MySQL Workbench
+ Eclipse IDE

This tutorial is perfect to start database programming with Java, using MySQL as the database.

For text-based tutorial: https://www.codejava.net/java-se/jdbc...


Nesta página do site você pode assistir ao vídeo on-line Java Connect to MySQL Database Step by Step duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code Java 07 Março 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 148,201 vezes e gostou 1.5 mil espectadores. Boa visualização!