ccfxue 2017-04-04 00:59:57 1170 收藏
分类专栏: linux 文章标签: centos7 mariadb
centos7内置的MySQL镜像已经放弃Oracle公司的MySQL,改用MySQL的分支数据库mariaDB,使用以下安装mariadb:
- yum install mariadb*
然后使用命令systemctl start mariadb,提示如下:
- Failed to start mariadb.service: Unit mariadb.service failed to load: No such file or directory
- $ sudo yum search mariadb
执行以下,安装缺少的依赖包:
- $ yum install mariadb-embedded mariadb-embedded-devel mariadb-libs mariadb-bench mariadb mariadb-server
- yum install mariadb*
然后使用命令systemctl start mariadb,提示如下:
- Failed to start mariadb.service: Unit mariadb.service failed to load: No such file or directory
- $ sudo yum search mariadb
执行以下,安装缺少的依赖包:
- $ yum install mariadb-embedded mariadb-embedded-devel mariadb-libs mariadb-bench mariadb mariadb-server