only remove my_cnf after executing grants