最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
CentOS6下MySQL数据库迁移MariaDB教程
时间:2022-06-30 21:22:01 编辑:袖梨 来源:一聚教程网
VPS是CentOS 6,mysql版本是5.5.31(使用了 REMI 源)。
A. 先配置 MariaDB 的安装源。
目前 MariaDB 的主版本是 MariaDB 5.5.33a Stable,将下面的安装源配置保存为MariaDB.repo,上传到服务器的 /etc/yum.repos.d 文件夹:
For CentOS 6 32 bit:
[mariadb] name = MariaDB enable=1 priority=3 baseurl = http://yum.mari***adb.org/5.5.33a/centos6-x86/ gpgkey=htt://yum.mariadb.org/rpm-GPG-KEY-MariaDB gpgcheck=1
For CentOS 6 64 bit:
[mariadb] name = MariaDB enable=1 priority=3 baseurl = http://yum.ma*r*iad*b.org/5.5.33a/centos6-amd64/ gpgkey=https://yum.*ma*ri*adb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
B. 然后直接执行系统升级。
yum update --skip-broken
MariaDB 相关安装包会被安装,不需要的 MySQL 包将被卸载,并且升级之后不需要对系统进行修补。
相关文章
- 光与影33号远征队灵光与符纹区别一览 10-04
- 多洛可小镇沙漠商人任务材料获取攻略 10-04
- 宗门志灵玉资源获取方法攻略分享 10-04
- 毁灭战士黑暗时代全部盾牌符文效果一览 10-04
- 光与影33号远征队符纹使用方法分享 10-04
- 光与影33号远征队点亮坛子方法分享 10-04