当前位置:网站首页>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)
边栏推荐
- Praying: 1 vulnhub walkthrough
- 第一次手撕代码,如何解出全排列问题
- 4.表单与输入
- Batch replace file fonts, Simplified -> Traditional
- What are the killer super powerful frameworks or libraries or applications for PHP?
- hackmyvm: controller walkthrough
- hackmyvm: may walkthrough
- [sebastian/diff]一个比较两段文本的历史变化扩展库
- PHP8.2 version release administrator and release plan
- TypeScript error error TS2469, error TS2731 solution
猜你喜欢
随机推荐
Phpstudy安装Thinkphp6(问题+解决)
CTF入门笔记之ping
php函数漏洞总结
hackmyvm: may walkthrough
Introduction to PHP (self-study notes)
Advanced Operations on Arrays
[mikehaertl/php-shellcommand] A library for invoking external command operations
DVWA靶机安装教程
17.JS条件语句和循环,以及数据类型转换
(7) 浅学 “爬虫” 过程 (概念+练习)
(3) Thinkphp6 database
SQL classification, DQL (Data Query Language), and corresponding SQL query statement demonstration
IO流、字节流、字节缓冲流
What are the killer super powerful frameworks or libraries or applications for PHP?
PHP图片压缩到指定的大小
[league/flysystem]一个优雅且支持度非常高的文件操作接口
逍遥多开模拟器ADB驱动连接
Function hoisting and variable hoisting
Phonebook
4. The form with the input







