我刚刚安装CentOS linux然后下载了MySQL tar文件来安装MySQL.我解压缩了6个附带的rpm文件,然后单击该-server rpm文件进行安装.但是我收到以下对话框错误:
Failed to install file
Two packages provide the same name.
This is usually due to mixing packages from different software sources.
Run Code Online (Sandbox Code Playgroud)
当我尝试从linux终端运行安装它时,我得到以下更具体的日志,这似乎表明与mariadb冲突:
[root@localhost ~]# yum install /path/to/Downloads/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Examining /path/to/Downloads/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64.rpm: MySQL-server-5.6.21-1.linux_glibc2.5.x86_64
Marking /path/to/Downloads/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package MySQL-server.x86_64 0:5.6.21-1.linux_glibc2.5 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
Run Code Online (Sandbox Code Playgroud)
MySQL-server x86_64 5.6.21-1.linux_glibc2.5 …