相关疑难解决方法(0)

由于与mariadb冲突,mysql不会安装在CentOS中

我刚刚安装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 …

mysql linux terminal centos

5
推荐指数
3
解决办法
2万
查看次数

标签 统计

centos ×1

linux ×1

mysql ×1

terminal ×1