Linux Networking Ubuntu

Reset MySQL root password in Ubuntu 20.04

Step 1: Stop MySQL Step 2: Make MySQL service directory Step 3: Give MySQL user permission to write to the service directory. Step 4: Start MySQL manually, without permission checks or networking. Step 5: On another console, log in without a password. Step 6: Update new password Step 7: Turn off MySQL. Step 8: Start […]


Java: MySQl connection using JDBC driver

Easy few steps to “Hello World JDBC MySQL connection” Step 1: Requirement Install MySQL: MySQL can be installed directly by going to MySQL website. Or it can be installed using WAMP or XAMPP. Don’t forget to start WAMP or XAMPP. Download: mysql-connector-java.jar Install Java IED: like Eclipse. Using Eclipse in this tutorial. The code: I […]