PDO: Fix fatal error when the database name doesn't exists
Fix translatable string. Can't make the code nicer here.
Check first is $this->result is an object before returning the number of rows.
Fix old behaviour to return a message that it can't select the database.