centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum install mysql-community-server

报的错误

Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from mysql-community-libs.x86_64 0:5.6.38-2.el7 - u
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.56-2.el7 will be an update
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be an update
---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be an update
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
--> Finished Dependency Resolution
Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda)Requires: mariadb-serverRemoving: 1:mariadb-server-5.5.52-1.el7.x86_64 (@anaconda)mariadb-server = 1:5.5.52-1.el7Obsoleted By: mysql-community-server-5.6.38-2.el7.x86_64 (mysql56-community)Not foundUpdated By: 1:mariadb-server-5.5.56-2.el7.x86_64 (base)mariadb-server = 1:5.5.56-2.el7You could try using --skip-broken to work around the problemYou could try running: rpm -Va --nofiles --nodigest

报错原因 :软件包依赖 mariadb组件

解决方案:

yum -y remove mariadb-libs

运行

yum install mysql-community-server

配置mysql

service mysqld restart
mysql -u root
mysql> set password for 'root'@'localhost' =password('your password'); 

centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running:相关推荐

  1. CentOS安装MySql报错:mysql error: Failed dependencies

    今天安装mysql报错,依赖错误,网上查了下后面加上--nodeps --force,开始正常安装

  2. 【吭】centos安装mysql报错OSError: mysql_config not found/error: command ‘gcc‘ failed with exit status 1

    问题:    OSError: mysql_config not found 解决:yum install mysql-devel 问题:error: command 'gcc' failed wit ...

  3. 在Linux中安装MySQL报错“error: Failed dependencies: mysql-community-libs(x86-32) >= 5.7.9 is needed by my“

    异常 在Linux中安装MySQL报错: 原因 因为缺少相关的依赖,所以要先安装这些依赖才能安装MySQL成功. 解决 (注意:这种方法是错误的,安装后并不能启动MySQL成功) 在每个安装指令后面添 ...

  4. 阿里云安装Mysql报错

    阿里云安装Mysql报错: The GPG keys listed for the "MySQL 5.7 Community Server" repository are alre ...

  5. Linux/Centos 安装oracle报错“调用makefile '/oracle/produc

    解决centos7/redhat7安装oracle11g到%70报错问题 Linux/Centos 安装oracle报错"调用makefile '/oracle/product/11.2.0 ...

  6. Docker安装mysql 报错 InnoDB: Table flags are 0 in the data dictionary but the flags in file

    docker 安装mysql5.7 docker run -d -p 3306:3306 -v /data/mysql/conf:/etc/mysql/conf.d -v /data/mysql/da ...

  7. centos7源码安装mysql报错_centos7.3源码安装mysql

    环境说明: 该系统第一次安装mysql. 自己指定安装目录,指定数据文件目录. linux系统版本:CentOS 7.3 64位 安装源文件版本:mysql-5.7版本 mysql安装位置:/soft ...

  8. mysql报错3534_win7下安装MYSQL报错:MYSQL 服务无法启动的3534问题

    上午在win7下安装MYSQL,只到"net start mysql"这一步报错:3534的错误: 于是在百度中搜索关键字"mysql服务无法启动3534". ...

  9. 远程连接CentOS的MySQL报错:Can't connect to MySQL server on 'XXX' (13)

    环境: 系统版本: CentOS release 6.5 (Final) 数据库版本: 5.1.73 问题描述: 使用客户端远程登录连接基于CentOS 6.5服务器上的Mysql,报错:Can't ...

最新文章

  1. 惜分飞oracle,惜分飞 - 提供7*24专业数据库(Oracle,SQL Server,MySQL等)恢复和Oracle技术服务@Tel:+86 13429648788...
  2. Shell中的if语句中的
  3. ABAP Debugging Script(调试器脚本)使用的一些实际例子
  4. 计算机网络基础端口号,1 计算机网络基础练习
  5. 学术顶会再突破!计算平台MaxCompute论文入选国际顶会VLDB 2021
  6. 前端通信:ajax设计方案(五)--- 集成promise规范,更优雅的书写代码(改迭代已作废,移步迭代10)...
  7. codeforces 贪心+优先队列_算法基础04-深度优先搜索、广度优先搜索、二分查找、贪心算法...
  8. 第二章 Java浮点数精确计算
  9. [转载] Python数据可视化库-Matplotlib——折线图绘制
  10. 《Python Cookbook》笔记_列表等可迭代对象的解压赋值
  11. vector 详解(C++)
  12. MTK芯片资料大全,MTK处理器型号介绍
  13. python开发移动app_手机python开发
  14. c#调用labview实现巴特沃斯滤波器
  15. 顺序结构-计算标准体重
  16. python3 基础语法分享
  17. 数字化转型常见的5种问题:除了意识和能力问题,还有什么?
  18. Ubuntu系统中查看电脑驱动信息
  19. C++数组:猴子选大王
  20. 微信小程序tab选项卡,点击弹窗(带蒙版)五星好评-获取微信手机号码

热门文章

  1. LeetCode 417. 太平洋大西洋水流问题(BFS/DFS)
  2. 利用python提取网站曲线图数据
  3. arduino yun 京东_Arduino发布多款全新升级产品,宣布将成立Arduino基金会
  4. python将元祖设为整形_python基础(5)---整型、字符串、列表、元组、字典内置方法和文件操作介绍...
  5. 无穷大正整数 python_python模块:数字处理
  6. c语言分治算法求最大值,分治法找最大值(C語言)
  7. python中向类中动态添加新特性及删除属性方法
  8. spring-test dao空指针异常_014、Java异常机制
  9. TPLinker 联合抽取 实体链接方式+源码分析
  10. python 判断一个点(坐标)是否在一个多边形内利用射线法