adding mysql support to ps.