系统无法确定“;mysqld”;通过WHM创建新cpanel帐户时的版本

系统无法确定“;mysqld”;通过WHM创建新cpanel帐户时的版本,cpanel,whm,Cpanel,Whm,我已经在centOS7上安装了WHM,现在我正在尝试创建新帐户,但数据库错误如下- Account Creation Status: failed Cpanel::Exception/(XID rt23j6) The system failed to determine the “mysqld” version. at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 193. Cpanel::MysqlUtils::Version::cur

我已经在centOS7上安装了WHM,现在我正在尝试创建新帐户,但数据库错误如下-

Account Creation Status: failed
Cpanel::Exception/(XID rt23j6) The system failed to determine the “mysqld” version. at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 193. 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 100 Cpanel::Validate::DB::User::get_max_mysql_dbuser_length() called at /usr/local/cpanel/Cpanel/Validate/DB/User.pm line 157 Cpanel::Validate::DB::User::_mysql_dbuser_name_length_check("demo") called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1246 Whostmgr::Accounts::Create::_validate_database_config(HASH(0x3670408)) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 352 eval {...} called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 352 Whostmgr::Accounts::Create::_wwwacct("homedir", "", "maxpark", "unlimited", "useregns", 0, "uid", "", ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2971 Whostmgr::Accounts::Create::__createaccount("max_emailacct_quota", "unlimited", "maxsub", "unlimited", "dbuser", "demo", "mxcheck", "auto", ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 3025 Whostmgr::Accounts::Create::_createaccount("max_emailacct_quota", "unlimited", "maxsub", "unlimited", "dbuser", "demo", "mxcheck", "auto", ...) called at whostmgr/bin/whostmgr5.pl line 781 main::wwwacct("wwwacct") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 259 Whostmgr::Dispatch::_do_call("wwwacct", HASH(0x3210150), HASH(0x3212f80)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 157 Whostmgr::Dispatch::dispatch("wwwacct", 1, ARRAY(0x3212f38), HASH(0x3212f80)) called at whostmgr/bin/whostmgr5.pl line 257 
这可能是一个非常基本的问题,但我是WHMCpanel的初学者,我被困在这里,如果有人能做到,我真的需要帮助。 提前谢谢。

你们国家是什么

也许你的国家受到了制裁

安装WHM没有问题,除非您的供应商有问题

Mysql没有对国家实施制裁,但马里亚布没有问题

清除服务器并重新安装操作系统

在安装WHM之前,请编写以下代码:

mkdir /root/cpanel_profile
echo 'mysql-version=10.3' > /root/cpanel_profile/cpanel.config
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
使用这段代码,您将安装mariadb而不是mysql

下一种方法:

您可以在/etc/yum.conf中代理yum文件

[main]
………………

proxy=http://<Proxy-Server-IP-Address>:<Proxy_Port>

proxy_username=<Proxy-User-Name>

proxy_password=<Proxy-Password> 

Or
proxy=http://<Proxy-User-Name>:<Proxy-Password>@<Proxy-Server-IP-Address>:<Proxy_Port>


………………
[main]
………………
proxy=http://:
代理用户名=
代理服务器密码=
或
proxy=http://:@:
………………
下一种方法:

编辑/etc/resolv.conf并将名称服务器更改为更改请求

#nameserver 8.8.8.8
nameserver <your best dns server to change requests>
#名称服务器8.8.8.8
名称服务器