How to restoregrants to restore the user's database access

Post a Comment

1 Comments

  1. For all users in a cpanel server it should be:

    cd /home

    for a in *; do /usr/local/cpanel/bin/restoregrants --cpuser=$a --db=mysql --all; done;

    ReplyDelete