Finish the MySQL part