Common tasks when working with MySQL
How to install MySQL server in Ubuntu
It’s pretty simple:
sudo apt-get install mysql-server
How to connect to MySQL using Java
This is a useful and simple snippet:
import java.sql.Connection;
import java.sql.DriverManager;
public class Test { …