Switched MySQL to PDO