Super duper cool guide for installing MySQL (MariaDB actually) and JDBC on Ubuntu 20.04
-
Install mariadb server using:
sudo apt install mariadb-server
-
Install the Java library for MariaDB using:
sudo apt install libmariadb-java
-
Start the mariadb service using:
sudo /etc/init.d/mysql start
-
Now you will login to the mariaDB and create a new user that does not need root a) Connect to MY-SQL using:
sudo mysql -u root