当前位置:网站首页>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)
边栏推荐
- 解决uni-app 打包H5网站 下载图片问题
- DVWA drone installation tutorial
- PHP8.2的版本发布管理员和发布计划
- PHP有哪些框架?
- 微信小程序开发视频加载:[渲染层网络层错误] Failed to load media
- [mikehaertl/php-shellcommand]一个用于调用外部命令操作的库
- The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
- CTF入门笔记之ping
- vim edit mode
- easyswoole uses redis to perform geoRadiusByMember Count invalid fix
猜你喜欢
随机推荐
PHP8.2将会有哪些新东西?
easyswoole 使用redis执行geoRadiusByMember Count无效修复
3.PHP数据类型、常量、字符串和运算符
TypeScript 错误 error TS2469、error TS2731 解决办法
Using PHPMailer send mail
(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
(3) 字符串
4.表单与输入
[symfony/finder] The best file manipulation library
hackmyvm-random walkthrough
2. PHP variables, output, EOF, conditional statements
14.JS语句和注释,变量和数据类型
[symfony/mailer]一个优雅易用的发送邮件类库
Shuriken: 1 vulnhub walkthrough
Phpstudy installs Thinkphp6 (problem + solution)
[league/flysystem]一个优雅且支持度非常高的文件操作接口
IO stream, encoding table, character stream, character buffer stream
MOMENTUM: 2 vulnhub walkthrough
第一次手撕代码,如何解出全排列问题
PHP image compression to specified size