Fixed MySQL configuration performance problems.