当前位置:网站首页>MySQL auto start settings start with systemctl start mysqld
MySQL auto start settings start with systemctl start mysqld
2022-04-23 18:01:00 【Shallow singing ~ happiness】
1. If you use yum If you install it, you don't need to set it use systemctl restart mysqld The following error is reported during startup :
2. Check whether the system service has mysqld
chkconfig --list
3.MySQL Start close add to /etc/init.d/mysqld
cp /data/mysql/support-files/mysql.server /etc/init.d/mysqld ( /data/mysql For installation directory )
4. Then install the server as follows
cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql Copy the service file to init.d Next , And rename to mysqld
chmod +x /etc/init.d/mysqld Give executable permission
chkconfig --add mysqld Add service
chkconfig --list Show the list of services
5. Here's the picture If you see mysql Service for , also 3,4,5 All are on If you don't, you succeed , If it is off, Then type
6.#### Restart the computer
reboot
Restart and watch again mysql Whether the self start is successful
Enter the command :systemctl status mysqld
版权声明
本文为[Shallow singing ~ happiness]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231800322916.html
边栏推荐
- .105Location
- journal
- [UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)
- Basic usage of crawler requests
- Calculation of fishing net road density
- Fashion classification case based on keras
- Go file operation
- I / O multiplexing and its related details
- Tensorflow tensor introduction
- Multi thread crawling Marco Polo network supplier data
猜你喜欢
.105Location
2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition
Classification of cifar100 data set based on convolutional neural network
开源按键组件Multi_Button的使用,含测试工程
mysql自动启动设置用Systemctl start mysqld启动
Auto.js 自定义对话框
Halo open source project learning (II): entity classes and data tables
ArcGIS table to excel exceeds the upper limit, conversion failed
2022江西储能技术展会,中国电池展,动力电池展,燃料电池展
2022 Jiangxi energy storage technology exhibition, China Battery exhibition, power battery exhibition and fuel cell Exhibition
随机推荐
Yolov4 pruning [with code]
[UDS unified diagnostic service] IV. typical diagnostic service (4) - online programming function unit (0x34-0x38)
QTableWidget使用讲解
Re expression régulière
高德地图搜索、拖拽 查询地址
Implementation of object detection case based on SSD
Multi thread crawling Marco Polo network supplier data
C language loop structure program
Install pyshp Library
[UDS unified diagnostic service] v. diagnostic application example: Flash bootloader
ArcGIS license error -15 solution
The method of changing a value in the array and a value in the object of wechat applet
云原生虚拟化:基于 Kubevirt 构建边缘计算实例
587. 安装栅栏 / 剑指 Offer II 014. 字符串中的变位词
Auto.js 自定义对话框
The ultimate experience, the audio and video technology behind the tiktok
.104History
Stanford machine learning course summary
C1 notes [task training part 2]
Generate verification code