Learn to connect to MySQL database.