当前位置:网站首页>Mysql报错:[ERROR] mysqld: File ‘./mysql-bin.010228‘ not found (Errcode: 2 “No such file or directory“)
Mysql报错:[ERROR] mysqld: File ‘./mysql-bin.010228‘ not found (Errcode: 2 “No such file or directory“)
2022-07-03 15:02:00 【Initial-T】
背景:
为清理空间,删除了所有的bin log
启动mysql报错,查看日志 /var/lib/mysql/mariadb.err
有报错:
2022-05-23 19:00:53 0 [ERROR] mysqld: File './mysql-bin.010228' not found (Errcode: 2 "No such file or directory")
2022-05-23 19:00:53 0 [ERROR] Failed to open log (file './mysql-bin.010228', errno 2)
2022-05-23 19:00:53 0 [ERROR] Could not open log file
解决:
将index文件删除(移到/tmp目录下)
启动mysql即成功。
边栏推荐
- Fundamentals of PHP deserialization
- 牛客 BM83 字符串變形(大小寫轉換,字符串反轉,字符串替換)
- Troubleshooting method of CPU surge
- Yolov5系列(一)——網絡可視化工具netron
- Global and Chinese market of iron free motors 2022-2028: Research Report on technology, participants, trends, market size and share
- 零拷贝底层剖析
- 什么是embedding(把物体编码为一个低维稠密向量),pytorch中nn.Embedding原理及使用
- Série yolov5 (i) - - netron, un outil de visualisation de réseau
- 【Transform】【实践】使用Pytorch的torch.nn.MultiheadAttention来实现self-attention
- Unity hierarchical bounding box AABB tree
猜你喜欢
CentOS7部署哨兵Redis(带架构图,清晰易懂)
[opengl] advanced chapter of texture - principle of flowmap
Qt—绘制其他东西
ASTC texture compression (adaptive scalable texture compression)
C language to realize mine sweeping
4-29——4.32
[ue4] material and shader permutation
C string format (decimal point retention / decimal conversion, etc.)
Yolov5系列(一)——網絡可視化工具netron
Byte practice plane longitude 2
随机推荐
Zzuli: sum of 1051 square roots
Search in the two-dimensional array of leetcode sword offer (10)
[ue4] geometry drawing pipeline
QT - draw something else
[pytorch learning notes] datasets and dataloaders
406. 根据身高重建队列
Zzuli: cumulative sum of 1050 factorials
Yolov5进阶之七目标追踪最新环境搭建(二)
[opengl] geometry shader
556. The next larger element III: simple construction simulation questions
[opengl] advanced chapter of texture - principle of flowmap
The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
CentOS7部署哨兵Redis(带架构图,清晰易懂)
Global and Chinese markets for flexible chips 2022-2028: Research Report on technology, participants, trends, market size and share
Piwigo 2.7.1 sqli learning
5-1 blocking / non blocking, synchronous / asynchronous
Yolov5系列(一)——網絡可視化工具netron
5.4-5.5
Global and Chinese market of air cargo logistics 2022-2028: Research Report on technology, participants, trends, market size and share
Composite type (custom type)