请参阅系统上的MySQL stautus。
[root@n yum.repos.d]# rpm -qa | grep mysql
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-community-release-fc21-5.noarch
[root@n yum.repos.d]# yum remove mysql
Setting up Remove Process
No Match for argument: mysql
Package(s) mysql available, but not installed.
No Packages marked for
我试着安装,我看到了错误。
Error: Package: mysql-community-server-5.7.17-1.el7.x86_64 (mysql57-community)
Requires: systemd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我还删除了以前的所有安装。我怎么才能解决这个问题?
rpm -e --nodeps mysql-libs
yum install MariaDB-server
上面的命令帮助我安装了mariadb,也安装了Wordpress。这是个很大的帮助。我现在的问题是,当我重新启动服务器或重新启动apache时,这里出现了错误:
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
我该如何解决这个问题?
我已经在Centos 6服务器上安装了MariaDB 5.3.3。为此,我必须在安装MariaDB服务器rpm之前发出以下命令:
rpm -e --nodeps mysql-libs
现在,mariadb和服务器中的所有其他软件都正常工作。
今天,我试图升级服务器中的包--除了postfix之外,软件包已经成功升级--因为这个错误,我无法安装它:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
mysql-libs is needed by postfix-2:2.6.6-2.2.el6_1.x86_64
** F