当前位置:网站首页>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)
边栏推荐
猜你喜欢
随机推荐
ES6三点运算符、数组方法、字符串扩展方法
Eric靶机渗透测试通关全教程
(2)Thinkphp6模板引擎**标签
hackmyvm: kitty walkthrough
Baidu positioning js API
CTF入门之md5
DVWA drone installation tutorial
hackmyvm-random walkthrough
阿里云设置域名解析重定向后,无法使用Chrome访问
动力:2 vulnhub预排
[mikehaertl/php-shellcommand]一个用于调用外部命令操作的库
[phpunit/php-timer] A timer for code execution time
PHP 发起支付宝支付时 订单信息乱码解决
php函数漏洞总结
What are the PHP framework?
(3) 字符串
查询数据库中所有表的索引,并且解析成sql
(6) 学生信息管理系统设计
百度定位js API
When PHP initiates Alipay payment, the order information is garbled and solved