当前位置:网站首页>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
边栏推荐
- Process management command
- Read excel, int digital time to time
- Go对文件操作
- 极致体验,揭晓抖音背后的音视频技术
- Halo open source project learning (II): entity classes and data tables
- How to install jsonpath package
- Error in created hook: "referenceerror:" promise "undefined“
- 2022江西储能技术展会,中国电池展,动力电池展,燃料电池展
- The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time
- C network related operations
猜你喜欢

idea中安装YapiUpload 插件将api接口上传到yapi文档上

Go language JSON package usage
Scikit learn sklearn 0.18 official document Chinese version

Eigen learning summary

JS forms the items with the same name in the array object into the same array according to the name

positioner

C#的随机数生成

Auto. JS custom dialog box

GDAL + ogr learning

Batch export ArcGIS attribute table
随机推荐
2022 Jiangxi Photovoltaic Exhibition, China distributed Photovoltaic Exhibition, Nanchang solar energy utilization Exhibition
ArcGIS license error -15 solution
Qtablewidget usage explanation
_ FindText error
MySQL_01_简单数据检索
Clion installation tutorial
Examination question bank and online simulation examination of the third batch (main person in charge) of special operation certificate of safety officer a certificate in Guangdong Province in 2022
Secure credit
Solving the problem of displaying too many unique values in ArcGIS partition statistics failed
ArcGIS table to excel exceeds the upper limit, conversion failed
Arcpy adds fields and loop assignments to vector data
JS high frequency interview questions
Add animation to the picture under V-for timing
Operation of 2022 mobile crane driver national question bank simulation examination platform
JS get link? The following parameter name or value, according to the URL? Judge the parameters after
C1 notes [task training chapter I]
Go's gin framework learning
解决允许在postman中写入注释请求接口方法
Open source key component multi_ Button use, including test engineering
2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition