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)
本文由 Ivan Dong 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Jun 13, 2023 at 10:04 am