Check pf database before starting mysql service