当前位置:网站首页>Alibaba Cloud MySQL 5.7 installation and some major problems (total)
Alibaba Cloud MySQL 5.7 installation and some major problems (total)
2022-08-02 03:59:00 【producing】
I accidentally downloaded MySQL 8.0 on the cloud server today, but because of compatibility, I don't want to use the higher version, so I plan to uninstall and clean up and then reinstall MySQL 57.Here are some of the content used:
Delete MySQL 8.0 that is being used and clean up the previous mysql content
rpm -qa | grep -i mysql
rpm -e??????(may be able to clean up the error)
Unable to clean up: RPM: error: db5 error(-30969)
What to do now:
Solution: Delete the rpm management database and rebuild it.The steps are as follows:
1. cd to the directory "/var/lib/rpm" to determine the database list and name:
root# cd /var/lib/rpm
root# ls -a
2. Delete "__db.001", "__db.002" and "__db.003":root# rm -rf __db.*
3. Rebuild:root# rpm --rebuilddb
4. This can be updated:root# dnf update
Reprint the original link: https://blog.csdn.net/nipseven/article/details/118069230find / -name mysql
# rm -rf ??????(clean up these mysql files)
边栏推荐
- [sebastian/diff] A historical change extension library for comparing two texts
- AES加密的各种蛋疼方式方式
- 2.PHP变量、输出、EOF、条件语句
- IO流、字节流、字节缓冲流
- [symfony/mailer]一个优雅易用的发送邮件类库
- 16. JS events, string and operator
- Query the indexes of all tables in the database and parse them into sql
- Alfa: 1 vulnhub walkthrough
- Warzone: 3 (Exogen) vulnhub walkthrough
- 关于tp的apache 的.htaccess文件
猜你喜欢

Thread Pool (Introduction and Use of Thread Pool)

hackmyvm: kitty walkthrough

PHP基金会三月新闻公告发布

(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符

GreenOptic: 1 vulnhub walkthrough

4. The form with the input

DVWA drone installation tutorial

PHP的几个有趣的打开方式:从基本到变态

TypeScript error error TS2469, error TS2731 solution

(2)Thinkphp6模板引擎**标签
随机推荐
Kali install IDEA
MOMENTUM: 2 vulnhub walkthrough
1.初识PHP
阿里云设置域名解析重定向后,无法使用Chrome访问
PHP8.2中字符串变量解析的新用法
SQL: DDL, DML, DQL, DCL corresponding introduction and demonstration
IO stream, encoding table, character stream, character buffer stream
hackmyvm-hopper walkthrough
Praying: 1 vulnhub walkthrough
[league/flysystem]一个优雅且支持度非常高的文件操作接口
Praying: 1 vulnhub walkthrough
[league/climate]一个功能健全的命令行功能操作库
Add a full image watermark to an image in PHP
Using PHPMailer send mail
PHP8.2 version release administrator and release plan
13. JS output content and syntax
hackmyvm-bunny walkthrough
Kali环境下Frida编写脚本智能提示
The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
GreenOptic: 1 vulnhub walkthrough