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.
Auf dieser Seite können Sie das Online-Video Java JDBC Tutorial 1 : Connect Java Application with MySQL Database mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DevTech Solutions 20 September 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 57,401 Mal angesehen und es wurde von 647 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!