Select Page

Deprecated MySQL databases – How to fix this error in cPanel/WHM servers

Deprecated MySQL databases – How to fix this error in cPanel/WHM servers provides outsourced hosting support to web hosting companies. As part of our services, we regularly update applications and operating systems of web hosting servers to keep them secure.

When executing a control panel upgrade in some cPanel/WHM servers, an error regarding Deprecated MySQL databases is sent as a mail:

Deprecated MySQL databases

The following MySQL databases have been deprecated and are no longer used by cPanel & WHM.
Database Name : Database Username
leechprotect : leechprotect
modsec : modsec

You can delete these databases and related database users at your leisure.
This notice is the result of a request from “database_deprecations”.


What is this error?

WHM used MySQL databases for mod_security and leechprotect until version 61.

From version 62 onwards these services use SQLite as the database.

So, this error message is shown to remove old deprecated databases.


See how we help cPanel server owners


How to fix Deprecated MySQL databases error?

Since the upgraded services would work fine with the SQLite database, we delete the old MySQL databases.

To do that, follow these steps:

  • Log into the WHM
  • Click on phpMyAdmin
  • Select the database leechprotect
  • Click on the operations tab
  • Click on “Drop the database (DROP)”

Repeat the steps for the database modsec.

Deprecated MySQL databases drop table

Drop table from phpMyAdmin




Never again lose customers to poor service! Sign Up once. Enjoy Peace Of Mind For Ever!


Submit a Comment

Your email address will not be published. Required fields are marked *

Bobcares is a server management company that helps businesses deliver uninterrupted and secure online services. Our engineers manage close to 51,500 servers that include virtualized servers, cloud infrastructure, physical server clusters, and more.