当前位置:网站首页>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)
边栏推荐
猜你喜欢
随机推荐
PHP有哪些杀手级超厉害框架或库或应用?
批量替换文件字体,简体->繁体
IP门禁:手把手教你用PHP实现一个IP防火墙
Phonebook
轮播图详解(完整代码在最后)
动力:2 vulnhub预排
QR code generation API interface, which can be directly connected as an A tag
如何根据地图上的两个坐标点来确定方向
vim编辑模式
CTF入门笔记之ping
The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
点名系统和数组元素为对象的排序求最大值和最小值
hackmyvm: may walkthrough
hackmyvm: again walkthrough
线程池(线程池介绍与使用)
SQL: DDL, DML, DQL, DCL corresponding introduction and demonstration
After the mailbox of the Pagoda Post Office is successfully set up, it can be sent but not received.
JS对象, 函数和作用域
(8) requests、os、sys、re、_thread
(4) 函数、Bug、类与对象、封装、继承、多态、拷贝