centos akonadi mysql,MySQL数据库之在CentOS7上安装MySQL5.7
本文主要向大家介紹了MySQL數(shù)據(jù)庫之在CentOS7上安裝MySQL5.7 ,通過具體的內(nèi)容向大家展現(xiàn),希望對大家學(xué)習(xí)MySQL數(shù)據(jù)庫有所幫助。
獲取RPM包
#?wget?https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
列出RPM包里都有哪些文件
#?rpm?-qpl?mysql57-community-release-el7-11.noarch.rpm
/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
/etc/yum.repos.d/mysql-community-source.repo
/etc/yum.repos.d/mysql-community.repo
安裝
#?rpm?-ivh?mysql57-community-release-el7-11.noarch.rpm?--nosignature
準(zhǔn)備中...??????????????????????????#################################?[100%]
軟件包?mysql57-community-release-el7-11.noarch?已經(jīng)安裝
#?yum?localinstall?mysql57-community-release-el7-11.noarch.rpm
#?yum?repolist?enabled?|?grep?"mysql.*-community.*"
mysql-connectors-community/x86_64????????MySQL?Connectors?Community??????????48
mysql-tools-community/x86_64?????????????MySQL?Tools?Community???????????????63
mysql57-community/x86_64?????????????????MySQL?5.7?Community?Server?????????267
#?yum?install?mysql-community-server
錯誤:軟件包:akonadi-mysql-1.9.2-4.el7.x86_64?(@anaconda/7.0)
需要:mariadb-server
正在刪除:?1:mariadb-server-5.5.35-3.el7.x86_64?(@anaconda/7.0)
mariadb-server?=?1:5.5.35-3.el7
取代,由:?mysql-community-server-5.7.22-1.el7.x86_64?(mysql57-community)
未找到
您可以嘗試添加?--skip-broken?選項(xiàng)來解決該問題
您可以嘗試執(zhí)行:rpm?-Va?--nofiles?--nodigest
--解決:移除對?mariadb-libs的依賴
#?yum?-y?remove?mariadb-libs
#?yum?install?mysql-community-server
啟動MySQL
#?systemctl?start?mysqld
#?systemctl?status?mysqld
mysqld.service?-?MySQL?Server
Loaded:?loaded?(/usr/lib/systemd/system/mysqld.service;?enabled)
Active:?active?(running)?since?四?2018-04-19?16:10:52?CST;?5s?ago
Docs:?man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process:?4324?ExecStart=/usr/sbin/mysqld?--daemonize?--pid-file=/var/run/mysqld/mysqld.pid?$MYSQLD_OPTS?(code=exited,?status=0/SUCCESS)
Process:?4245?ExecStartPre=/usr/bin/mysqld_pre_systemd?(code=exited,?status=0/SUCCESS)
Main?PID:?4328?(mysqld)
CGroup:?/system.slice/mysqld.service
└─4328?/usr/sbin/mysqld?--daemonize?--pid-file=/var/run/mysqld/mysqld.pid
4月?19?16:10:45?ydorcl?systemd[1]:?Starting?MySQL?Server...
4月?19?16:10:52?ydorcl?systemd[1]:?Started?MySQL?Server.
以上就介紹了MySQL的相關(guān)知識,希望對MySQL有興趣的朋友有所幫助。了解更多內(nèi)容,請關(guān)注職坐標(biāo)數(shù)據(jù)庫MySQL頻道!
總結(jié)
以上是生活随笔為你收集整理的centos akonadi mysql,MySQL数据库之在CentOS7上安装MySQL5.7的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 前端预加载gif
- 下一篇: androidActivity生命周期