Safer .my.cnf management