当前位置:网站首页>Error when starting MySQL on Linux
Error when starting MySQL on Linux
2022-07-25 18:03:00 【Martin Luther King】
Premise
1. stay linux install mysql Always unable to start the service , initialization failed . Tried many ways ,
You can follow the methods summarized by others at one time , Although it is of no use to my situation
Delete or backup /etc/lib/mysql/ A file in a directory
Restart , If it's still wrong . You can try my way
2. Error type
a.initialize specified but the data directory has files in in.Aborting
b.The innodb_system data file ‘ibdata1’ must be writable
terms of settlement
- Manual initialization
Carry out orders : mysqld --initialize - Give yourself permission !!!!!!!!!!
Carry out orders :
mysql5.7 Later versions execute
chmod -R 777 /var/lib/mysql
If not, search mysql Directory location
边栏推荐
- CH582 BLE 5.0 使用 LE Coded 广播和连接
- Auditing related notes
- Landmark buildings around the world
- Take you to a preliminary understanding of multiparty secure computing (MPC)
- SDLC 软件开发生命周期及模型
- Methods of de duplication and connection query in MySQL database
- How many points did NPDP pass? How to pass with high scores?
- go defer与recover简单笔记
- 「数字安全」警惕 NFT的七大骗局
- SLA 、SLO & SLI
猜你喜欢

What is an IP SSL certificate and how to apply for it?

ORB_SLAM3复现——上篇

Auditing related notes

「行话」| 用DevOps高效交付游戏,是种什么体验?

What are the advantages of real-time cloud rendering

Drawing PDF form (II) drawing excel form style in PDF through iText, setting Chinese font, watermark, logo, header and page number
Principle and implementation of UDP penetration NAT in P2P

专访即构科技李凯:音视频的有趣、行业前沿一直吸引着我

Could not stop Cortex-M device! please check the JTAG cable的解决办法

Take you to a preliminary understanding of multiparty secure computing (MPC)
随机推荐
Drawing PDF tables (I) drawing excel table styles in PDF and downloading them through iText (supporting Chinese fonts)
go接口变量的类型断言
C语言 整数与字符串的相互转换
越来越成熟的Rust,都应用了哪些场景呢?
Postman get started quickly
CH582 BLE 5.0 使用 LE Coded 广播和连接
TME2022校园招聘后台开发/运营开发/业务运维/应用开发笔试(I)编程题的一点自我分析
SVN客户端(TortoiseSVN)安装及使用说明
Nineteen year old summary
STM8S003F3 内部flash调试
十九岁的总结
关于flickr的数据集笔记
Creation of unity Bezier curve
PHP解决并发问题的几种实现
STM8S003F3 uart的使用
Notes on Flickr's dataset
C LINQ de Duplication & de duplication sum
mysql case when
Installation and operation instructions of SVN client (TortoiseSVN)
MySQL数据库常用命令