translate mysql and posgres database tests