当前位置:网站首页>[an example of MySQL startup error] innodb: failed to create check sector file, errno:13
[an example of MySQL startup error] innodb: failed to create check sector file, errno:13
2022-06-13 07:37:00 【Fish is not fish】
Error message
I came across one today 5.7MySQL Installation error messages , The error information is as follows :[ERROR] InnoDB: Failed to create check sector file, errno:13 Please confirm O_DIRECT is supported and remove the file /data1/check_sector_size if it exists.
Although it does not affect the use of , But every time I start up, I have Error
Report errors , I always feel that there may be problems in some aspects .
Solution
After review search , It turns out that MySQL One of the bugs.
bug Address :MySQL bug
The solution is simple :
Just put the configuration file's innodb_data_home_dir
Add one at the end of the parameter value of /
that will do .
# Original configuration
innodb_data_home_dir=/data1/mysql
# Modified configuration
innodb_data_home_dir=/data1/mysql/
# Just change to the modified configuration , This error will magically disappear
The above solutions have been tested in the test environment and production environment, and can really solve the error .
边栏推荐
- Export chrome plug-ins and import local plug-ins to chrome
- Index push down (ICP) for mysql5.6
- c#高級編程-特性篇
- 5xx series problem solving
- Why should two judgment expressions in if be written in two lines
- AQS - detailed explanation of reentrantlock source code
- No configure file found when compiling PHP from source code
- [hard copy] core differences among dirty reading, non repeatable reading and unreal reading scenarios
- Nodejs file module FS
- Considerations for using redis transactions
猜你喜欢
Redis Cluster - the underlying principle of slot assignment
redis-3. Redis list, set, hash, sorted_ set、skiplist
比较DFS和BFS的优点和缺点及名称词汇
Socket programming 2:io reuse (select & poll & epoll)
Redis learning journey - cache exceptions (CACHE penetration, cache avalanche, cache breakdown)
JMeter encryption interface test
Redis learning journey master-slave replication
Learning notes of balanced binary tree -- one two pandas
redis-5. Redis' RDB, fork, copyonwrite, AOF, RDB & AOF are mixed
IDS persistence ---rdb
随机推荐
Redis underlying data structure -- listpack
Nodejs file module FS
EF core execute SQL statement
Upgrade the project of log4j to log4j2
RT thread simulator lvgl control: button button event
Export chrome plug-ins and import local plug-ins to chrome
理财产品连续几天收益都是零是怎么回事?
Redis Cluster - the bottom principle of building clusters
The management practice of leading enterprises has proved that what is the core of sustainable development of enterprises?
Index invalidation caused by inaccurate MySQL statistics
AQS - detailed explanation of reentrantlock source code
Calculate running total / running balance
Redis master-slave replication - underlying principle
An example of CSRF attack defense in web application scenarios
25个国内外文献数据库
11.29 Li Kou swipes questions every day
Mui mixed development - when updating the download app, the system status bar displays the download progress
Hashtable source code analysis
First graphical interface (modified version)
论文笔记: 多标签学习 BP-MLL