• centos7 安装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-community-server
    

     错误信息:

    Resolving Dependencies
    --> Running transaction check
    ---> Package mysql-community-server.x86_64 0:8.0.23-1.el6 will be installed
    --> Processing Dependency: mysql-community-common(x86-64) = 8.0.23-1.el6 for package: mysql-community-server-8.0.23-1.el6.x86_64
    --> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.23-1.el6.x86_64
    --> Running transaction check
    ---> Package mysql-community-client.x86_64 0:8.0.23-1.el6 will be installed
    --> Processing Dependency: mysql-community-client-plugins = 8.0.23-1.el6 for package: mysql-community-client-8.0.23-1.el6.x86_64
    --> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.23-1.el6.x86_64
    ---> Package mysql-community-common.x86_64 0:8.0.23-1.el6 will be installed
    --> Running transaction check
    ---> Package mysql-community-client-plugins.x86_64 0:8.0.23-1.el6 will be installed
    --> Processing Dependency: libsasl2.so.2()(64bit) for package: mysql-community-client-plugins-8.0.23-1.el6.x86_64
    ---> Package mysql-community-libs.x86_64 0:8.0.23-1.el6 will be installed
    --> Finished Dependency Resolution
    Error: Package: mysql-community-client-plugins-8.0.23-1.el6.x86_64 (mysql)
               Requires: libsasl2.so.2()(64bit)
     You could try using --skip-broken to work around the problem
     You 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'); 


  • 相关阅读:
    小程序动态修改页面标题setNavigationBarTitle
    webapi发布在iis之后报错Http 403.14 error
    vue调用子组件方法时,参数传不过去
    Echarts中X轴坐标太密集,分段显示
    使用echarts时,鼠标首次移入屏幕会闪动,全屏会出现滚动条
    js关于数组的操作(合并数组、添加数组、循环等)
    在vue项目中使用echarts
    npm i安装命令中的-g -D -S的区别
    ArcGIS api for JS 实现三维飞行漫游功能
    Vue通过EventBus实现兄弟组件间通信
  • 原文地址:https://www.cnblogs.com/niewd/p/14340570.html
Copyright © 2020-2023  润新知