Configure mysql.