PDO set to warning for sharing with no db