MySQL user grants

In this article, you will find the procedure of restoring MySQL grants.

The /usr/local/cpanel/bin/restoregrants script restores database users grants from the data in the /var/cpanel/databases/grants_* files.

One can restore the grants using the following command:

/usr/local/cpanel/bin/restoregrants [--cpuser=cpuser] [--db=mysql|pg] [--dbuser=dbuser|--all]

The above-discussed method is the basic and easiest way for restoring your MySQL user grants using the command line interface. For more details, you can visit bodHOST today.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

Plesk :Unable to login Webmail Horde

Email Login failures on Linux VPS Hosting Packages : If you are unable to login…

Microsoft Virtualization Technology Types and Information

The Virtualization is a product by Microsoft Technologies, which consists of a wide range of…

Webmail Port Numbers Explained: IMAP, POP3, and SMTP Ports

Webmail allows users to send and receive email using standard email protocols over the Internet.…