Changed SQL driver and handle to DB.php