getPubByID: DB Error: connect failed