Add beginning code for MySQL database.