zoukankan      html  css  js  c++  java
  • centos 安装mysql Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda)

    wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
    rpm -ivh mysql-community-release-el7-5.noarch.rpm
    yum install mysql-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-server
               Removing: 1:mariadb-server-5.5.52-1.el7.x86_64 (@anaconda)
                   mariadb-server = 1:5.5.52-1.el7
               Obsoleted By: mysql-community-server-5.6.38-2.el7.x86_64 (mysql56-community)
                   Not found
               Updated By: 1:mariadb-server-5.5.56-2.el7.x86_64 (base)
                   mariadb-server = 1:5.5.56-2.el7
     You could try using --skip-broken to work around the problem

    ** Found 32 pre-existing rpmdb problem(s), 'yum check' output follows:

    报错原因 :软件包依赖 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'); 
  • 相关阅读:
    iOS开发网络篇—数据缓存
    iOS开发网络篇—监测网络状态
    AFNetworking 接收text/html格式返回数据
    ios移动APP支付方案
    iOS开发网络篇—发送json数据给服务器以及多值参数
    AFNetWorking https SSL认证
    CocoaPods版本升级
    内存管理
    init 用法
    Class 用法
  • 原文地址:https://www.cnblogs.com/mymelody/p/9253515.html
Copyright © 2011-2022 走看看