The check_users_my_cnf Script

Valid for versions 82 through the latest version


Last modified: February 1, 2022

Overview

The /usr/local/cpanel/scripts/check_users_my_cnf script checks cPanel accounts for any invalid ~/.my.cnf files and renames them. This lets you view any settings in the invalid files that you may want to copy to new files. By default, the script checks all cPanel accounts. The script only returns output when it detects an invalid file.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/check_users_my_cnf [options]

Options

Use the following options with this script:

Options Description Example
--dryrun Run the script, but do not disable any invalid .my.cnf files. --dryrun
--perm-only Only perform a file permission and file ownership check. This option ignores whether the MySQL database is online. --perm-only
--user Run the script for a specific user. To run the script for multiple users, pass this option for each user. --user=username
--user=userA --user=userB
--verbose Run the script in verbose mode. --verbose
--help Display the script’s help documentation. --help
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The servers_queue Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The auto-adjust-mysql-limits Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The autossl_check Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup_restore_manager Script

Valid for versions 82 through the latest version Last modified: July 28, 2022...