Knowledgebase

An error occurs in cPanel when using a Mail-only profile or feature list without MySQL enabled. Print

  • 0

Symptoms

cPanel will display an error if the MySQL feature is disabled:

Screenshot 2026-04-12 at 7.08.35 AM.png

 

 

 

 

The cPanel error provides more details:

Cpanel::Exception::FeatureNotEnabled/(XID rfj95z) You do not have the feature “mysql”.
 at /usr/local/cpanel/Cpanel/Security/Authz.pm line 291.
	Cpanel::Security::Authz::verify_user_has_feature("cptest", "mysql") called at /usr/local/cpanel/Cpanel/Admin/Modules/Cpanel/mysql.pm line 45
	Cpanel::Admin::Modules::Cpanel::mysql::_init(Cpanel::Admin::Modules::Cpanel::mysql=HASH(0x384f648)) called at /usr/local/cpanel/Cpanel/Admin/Base.pm line 728
	Cpanel::Admin::Base::run("Cpanel::Admin::Modules::Cpanel::mysql", "username", undef, "uid", 1001, "function", "IS_ACTIVE_PROFILE_CPCLOUD", "args", ...) called at /usr/local/cpanel/Cpanel/AdminBin/Server/Backend.pm line 143
	eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Server/Backend.pm line 129
	Cpanel::AdminBin::Server::Backend::run_admin_module("perl_module", "Cpanel::Admin::Modules::Cpanel::mysql", "uid", 1001, "args", ARRAY(0x3763f40), "function", "IS_ACTIVE_PROFILE_CPCLOUD", ...) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 235
	Cpanel::AdminBin::Server::_request_handler(Cpanel::AdminBin::Server=HASH(0x3763a90), HASH(0x3763e80), undef) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 136
	Cpanel::AdminBin::Server::__ANON__() called at /usr/local/cpanel/Cpanel/Try.pm line 193
	eval {...} called at /usr/local/cpanel/Cpanel/Try.pm line 193
	Cpanel::Try::try(CODE(0x3763c10), "Cpanel::Exception::ProcessNotRunning", CODE(0x3763c58)) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 139
	Cpanel::AdminBin::Server::handle_cpwrapd_request(Cpanel::AdminBin::Server=HASH(0x3763a90), HASH(0x3763910)) called at /usr/local/cpanel/Cpanel/Server.pm line 2822
	Cpanel::Server::handle_cpwrapd_connection(Cpanel::Server=HASH(0x35425b0)) called at cpsrvd.pl line 1943
	cpanel::cpsrvd::_handle_unix_socket_connection("handle_cpwrapd_connection") called at cpsrvd.pl line 1146
	cpanel::cpsrvd::script() called at cpsrvd.pl line 449

Description

When disabling the MySQL feature cPanel will display an error on every page load. We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-52657. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

There are currently no workarounds other than enabling MySQL in the feature list and server profile.


Was this answer helpful?
Back

Send Message