CentOS7 Install MariaDB 10
in operateCo-De with 0 comment

CentOS7 Install MariaDB 10

in operateCo-De with 0 comment

Check Version

MariaDB [(none)]> select version();
+----------------+
| version()      |
+----------------+
| 5.5.68-MariaDB |
+----------------+
1 row in set (0.01 sec)

Install Maria Repo

wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
chmod +x mariadb_repo_setup
./mariadb_repo_setup

Install MariaDB Server

yum install mariadb-server
...
...
软件包 mariadb-server 已经被 MariaDB-server 取代,改为尝试安装 MariaDB-server-10.9.3-1.el7.centos.x86_64
...
...
--> 解决依赖关系完成
错误:软件包:MariaDB-server-10.9.3-1.el7.centos.x86_64 (mariadb-main)
          需要:pv
 您可以尝试添加 --skip-broken 选项来解决该问题
 您可以尝试执行:rpm -Va --nofiles --nodigest

Requires: PV need Enable EPEL repo to install pv

Install EPEL & MariaDB

yum -y install epel-release
yum install mariadb-server
...
...
完毕!

Check New Version

MariaDB [(none)]> select version();
+----------------+
| version()      |
+----------------+
| 10.9.3-MariaDB |
+----------------+
1 row in set (0.000 sec)
Comments are closed.