What Is Owl AutoMySQL® and How Do I Use It?

Managing MySQL resource usage on shared hosting servers can be a challenge, especially on Enhance with Ubuntu. Owl AutoMySQL is a fully automated solution in cPFence that helps prevent overloads by automatically managing and limiting abusive MySQL activity.

cPFence now includes a browser-based WebUI that is fully mobile-friendly, allowing you to enable, disable, or configure Owl AutoMySQL from any device. You can manage this per server or across your entire cluster by selecting the target server in the sidebar dropdown.

Enable or Disable Owl AutoMySQL via WebUI (Recommended)

  1. Open the cPFence WebUI on your Main Control Panel server.
  2. Use the Switch Server dropdown to select a specific server or all servers, as needed.
  3. Go to Tools & Utilities and scroll to the cPFence Owl™ Monitoring Module section.
  4. Click Enable Owl AutoMySQL to activate automatic MySQL resource controls, or Disable Owl AutoMySQL to turn it off at any time.

Changes apply immediately to the selected server(s).

How to Exclude Specific Users from Owl AutoMySQL

 

 

 

  1. In the WebUI, navigate to System Settings > Adjust Settings (One Server).
  2. Click Load Current Settings and find the EXCLUDED_USERS_AUTO_MySQL field.
  3. Enter usernames to exclude, separated by | (for example: user1|user2).
  4. Click Save & Restart to apply changes.

NoteYou need to use the MySQL username for this, not the site or owner user.

To view the MySQL usernames currently on your server, you can run the following command as root:

mysql -e "SELECT user, COUNT(*) AS login_count FROM mysql.user GROUP BY user ORDER BY login_count DESC;"

Command Line (CLI) Method

cpfence --owl-automysql-on
cpfence --owl-automysql-off

Use these commands to enable or disable Owl AutoMySQL from the terminal on any server.

To exclude users via CLI, edit the configuration file:

nano /opt/cpfence/config.conf
# Example:
EXCLUDED_USERS_AUTO_MySQL="user1|user2"

Why Use Owl AutoMySQL?

  • One-Click Activation: Instantly protect your MySQL servers from abusive queries and scripts.
  • Automatic Abuse Prevention: Ensures stable performance by blocking overloads while allowing normal usage.
  • Customizable: Exclude any user from AutoMySQL with a simple list.
  • Designed for Enhance: Perfect for hosting providers using Enhance and Ubuntu—no need for third-party solutions.

Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 1 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

What is the Recommended SWAP Size with the New Owl AutoMySQL Module?

If you're using the all new Owl AutoMySQL module, We highly recommend disabling SWAP for better...

Troubleshooting Repeated Alerts from cPFence Owl WatchDog

The cPFence Owl WatchDog is a smart monitoring system that automatically keeps your server’s most...

How to Change Resource Usage Alert Thresholds in cPFence?

If you're receiving frequent email alerts about server resource usage—such as CPU, memory, disk...

How to Enable / Disable cPFence Owl™ ?

cPFence Owl™ is a smart 24/7 monitoring system that provides advanced security features,...

Managing Slow Queries and Scripts Using cPFence Owl™

Note: It is now recommended to use the automatic feature instead of manual blacklisting. To learn...