当前位置:网站首页>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
边栏推荐
- 解决允许在postman中写入注释请求接口方法
- Anchor location - how to set the distance between the anchor and the top of the page. The anchor is located and offset from the top
- Implementation of object detection case based on SSD
- Submit local warehouse and synchronize code cloud warehouse
- Crawling mobile game website game details and comments (MQ + multithreading)
- Using files to save data (C language)
- 2022 Shanghai safety officer C certificate operation certificate examination question bank and simulation examination
- C# 的数据流加密与解密
- Yolov4 pruning [with code]
- .105Location
猜你喜欢

解决允许在postman中写入注释请求接口方法
![C1 notes [task training part 2]](/img/10/48f7490a6c097f2b178ae948cb2c91.png)
C1 notes [task training part 2]

Random number generation of C #

Go language JSON package usage

2022江西储能技术展会,中国电池展,动力电池展,燃料电池展

Go对文件操作

Theory and practice of laser slam in dark blue College - Chapter 2 (odometer calibration)

Using files to save data (C language)

YOLOv4剪枝【附代码】

Batch export ArcGIS attribute table
随机推荐
The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time
Process management command
.105Location
String function in MySQL
Nat Commun|在生物科学领域应用深度学习的当前进展和开放挑战
word frequency count
Realsense selection comparison d455 d435i d415 t265 3D hardware comparison
Uniapp custom search box adaptation applet alignment capsule
Data stream encryption and decryption of C
Vite configure proxy proxy to solve cross domain
C# 网络相关操作
Encapsulate a timestamp to date method on string prototype
Gaode map search, drag and drop query address
C1 notes [task training chapter I]
Anchor location - how to set the distance between the anchor and the top of the page. The anchor is located and offset from the top
.104History
[UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)
C#的随机数生成
Secure credit
Go语言JSON包使用