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