Java JDBC Tutorial 1 : Connect Java Application with MySQL Database

Published: 20 September 2017
on channel: DevTech Solutions
57,401
647

In this video, I have shown how to connect your java program or application with the mysql database installed on your local system in ubuntu linux using terminal.

At first , I have shown how to install jdk in ubuntu linux and then to install the mysql database on your system

To install the Java JDK Java Development Kit :
sudo apt-get install openjdk-8-jdk

To install mysql :
sudo apt-get install mysql-server mysql-client libmysql-java

To compile Java Applicaiton :
javac java-filename.java

To run the Byte Code :
java -cp .:path-to/mysql-connector.jar JavaMainClass


You can download the MySQL Connector at MySQL website : https://dev.mysql.com/downloads/conne...


You can also download Other DBMS Connectors at their respective official websites.


On this page of the site you can watch the video online Java JDBC Tutorial 1 : Connect Java Application with MySQL Database with a duration of hours minute second in good quality, which was uploaded by the user DevTech Solutions 20 September 2017, share the link with friends and acquaintances, this video has already been watched 57,401 times on youtube and it was liked by 647 viewers. Enjoy your viewing!