Re-structured mysql grants state file.