当前位置:网站首页>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即成功。
边栏推荐
- C language fcntl function
- Composite type (custom type)
- [graphics] efficient target deformation animation based on OpenGL es 3.0
- Série yolov5 (i) - - netron, un outil de visualisation de réseau
- Qt development - scrolling digital selector commonly used in embedded system
- 【Transform】【实践】使用Pytorch的torch.nn.MultiheadAttention来实现self-attention
- Awvs batch operation script
- Amazon, express, lazada, shopee, eBay, wish, Wal Mart, Alibaba international, meikeduo and other cross-border e-commerce platforms evaluate how Ziyang account can seize traffic by using products in th
- [ue4] cascading shadow CSM
- Zzuli:1059 highest score
猜你喜欢

Bucket sorting in C language

Remote server background hangs nohup

【注意力机制】【首篇ViT】DETR,End-to-End Object Detection with Transformers网络的主要组成是CNN和Transformer

Yolov5 series (I) -- network visualization tool netron

There are links in the linked list. Can you walk three steps faster or slower

Devaxpress: range selection control rangecontrol uses

【pytorch学习笔记】Datasets and Dataloaders

Introduction to opengl4.0 tutorial computing shaders
![[transformer] Introduction - the original author of Harvard NLP presented the annotated transformer in the form of line by line implementation in early 2018](/img/2b/b23aeab584f89be6678c0fe059d4b6.png)
[transformer] Introduction - the original author of Harvard NLP presented the annotated transformer in the form of line by line implementation in early 2018
![[ue4] cascading shadow CSM](/img/83/f4dfda3bd5ba0172676c450ba7693b.jpg)
[ue4] cascading shadow CSM
随机推荐
Neon global and Chinese markets 2022-2028: Research Report on technology, participants, trends, market size and share
Implement Gobang with C language
链表有环,快慢指针走3步可以吗
Global and Chinese markets for sterile packaging 2022-2028: Research Report on technology, participants, trends, market size and share
[opengl] geometry shader
How does vs+qt set the software version copyright, obtain the software version and display the version number?
Class part2
Zzuli:1052 sum of sequence 4
Pytoch deep learning and target detection practice notes
Dllexport and dllimport
Introduction to opengl4.0 tutorial computing shaders
Explanation of time complexity and space complexity
Zzuli:1058 solving inequalities
Write a 2-minute countdown.
Joomla! CMS 3.0~3.4.6 RCE
Global and Chinese market of postal automation systems 2022-2028: Research Report on technology, participants, trends, market size and share
[pytorch learning notes] datasets and dataloaders
NOI OPENJUDGE 1.5(23)
4-29——4.32
Rasterization: a practical implementation (2)