我按照这篇文章 https://www.digitalocean.com/community/tutorials/how-to-install-mysql-5-6-from-official-yum-repositories 在CentOS上安装MySQL 5.6。
但是当我运行以下命令: sudo yum install mysql-community-server 我看到以下错误:
但是当我运行以下命令: sudo yum install mysql-community-server 我看到以下错误:
Error: Package: mysql-community-server-5.6.20-4.el7.x86_64 (mysql56-community)
Requires: systemd
Error: Package: mysql-community-server-5.6.20-4.el7.x86_64 (mysql56-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
事实上,无论我如何执行yum install mysql mysql-server,都会出现相同的错误。我在网上搜索了一下,但缺乏资源提到了'systemd'和'libstdc++.so.6'出了什么问题以及如何解决这个问题。