Java JDBC Tutorial 1 : Connect Java Application with MySQL Database

Publié le: 20 septembre 2017
sur la chaîne: 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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Java JDBC Tutorial 1 : Connect Java Application with MySQL Database durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur DevTech Solutions 20 septembre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 57,401 fois et il a aimé 647 téléspectateurs. Bon visionnage!