The system failed to determine the mysqld version

SadeghKzadeh

Registered
Nov 5, 2014
3
0
1
Shiraz, Iran
cPanel Access Level
Root Administrator
hi guys
i installing cpanel on centos 7.1 64 bit

after creating account i will giving error
my error is :

Account Creation Status: failed

Cpanel::Exception/(XID fq4zz2) The system failed to determine the “mysqld” version. at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 194. Cpanel::MysqlUtils::Version::current_mysql_version() called at /usr/local/cpanel/Cpanel/Mysql/Version.pm line 27 Cpanel::Mysql::Version::get_mysql_version() called at /usr/local/cpanel/Cpanel/Validate/DB/User.pm line 97 Cpanel::Validate::DB::User::get_max_mysql_dbuser_length() called at /usr/local/cpanel/Cpanel/Validate/DB/User.pm line 140 Cpanel::Validate::DB::User::_mysql_dbuser_name_length_check("sadaf") called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1239 Whostmgr::Accounts::Create::_validate_database_config(HASH(0x426d230)) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 350 eval {...} called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 350 Whostmgr::Accounts::Create::_wwwacct(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, 1, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2961 Whostmgr::Accounts::Create::__createaccount("maxaddon", 0, "customip", "", "username", "sadaf", "maxpark", 0, ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 3015 Whostmgr::Accounts::Create::_createaccount("maxaddon", 0, "customip", "", "username", "sadaf", "maxpark", 0, ...) called at whostmgr/bin/whostmgr5.pl line 732 main::wwwacct("wwwacct") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 259 Whostmgr::Dispatch::_do_call("wwwacct", HASH(0x3e10670), HASH(0x3e091e8)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 157 Whostmgr::Dispatch::dispatch("wwwacct", 1, ARRAY(0x3e0cc68), HASH(0x3e091e8)) called at whostmgr/bin/whostmgr5.pl line 265



how i can fix it
 

SadeghKzadeh

Registered
Nov 5, 2014
3
0
1
Shiraz, Iran
cPanel Access Level
Root Administrator
hello
i will install cpanel now
and installing complated
but i have problem after install
my problem is sql error


No “program”! at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 170.
at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 170.
Cpanel::SafeRun::Object::new("Cpanel::SafeRun::Object", "stdin", "select * from user LIMIT 1;", "program", undef, "args", ARRAY(0x3e13b30)) called at whostmgr/bin/whostmgr.pl line 1834
main::passwdmysql(__CPANEL_HIDDEN__) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 259
Whostmgr::Dispatch::_do_call(__CPANEL_HIDDEN__, HASH(0x3b08320), HASH(0x3aa0cf8)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 157
Whostmgr::Dispatch::dispatch(__CPANEL_HIDDEN__, 1, ARRAY(0x3b1b7a0)) called at whostmgr/bin/whostmgr.pl line 636
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,862
2,216
363
cPanel Access Level
DataCenter Provider
Twitter
Cpanel::Exception/(XID fq4zz2) The system failed to determine the “mysqld” version. at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 194.
Hello @SadeghKzadeh,

Can you paste the output from the commands below?

Code:
# sestatus
# cat /var/cpanel/mysql_server_version_cache
# mysql --version
Thank you.
 

aquiroz

Registered
Sep 11, 2019
1
0
1
Mexico
cPanel Access Level
Root Administrator
Hi same problem here: This is my output.

sestatus

SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31

cat /var/cpanel/mysql_server_version_cache

cat: /var/cpanel/mysql_server_version_cache: No existe el fichero o el directorio


mysql --version

-bash: mysql: no se encontró la orden
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,862
2,216
363
cPanel Access Level
DataCenter Provider
Twitter
cat /var/cpanel/mysql_server_version_cache
cat: /var/cpanel/mysql_server_version_cache: No existe el fichero o el directorio


mysql --version
-bash: mysql: no se encontró la orden
Hello @aquiroz,

Could you open a support ticket so we can take a closer look at your server? Post the ticket number here once it's opened and we'll link this thread to it.

Thank you.