当前位置:网站首页>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
边栏推荐
- Tensorflow tensor introduction
- Oil monkey website address
- ES6 face test questions (reference documents)
- [appium] write scripts by designing Keyword Driven files
- Click Cancel to return to the previous page and modify the parameter value of the previous page, let pages = getcurrentpages() let prevpage = pages [pages. Length - 2] / / the data of the previous pag
- Random number generation of C #
- [UDS unified diagnostic service] v. diagnostic application example: Flash bootloader
- Identification verification code
- Realsense selection comparison d455 d435i d415 t265 3D hardware comparison
- An example of linear regression based on tensorflow
猜你喜欢
随机推荐
Stanford machine learning course summary
An example of linear regression based on tensorflow
Go的Gin框架学习
Docker 安装 Redis
.104History
Docker 安装 MySQL
YOLOv4剪枝【附代码】
解决允许在postman中写入注释请求接口方法
undefined reference to `Nabo::NearestNeighbourSearch
Nanotechnology + AI enabled proteomics | Luomi life technology completed nearly ten million US dollars of financing
Submit local warehouse and synchronize code cloud warehouse
C language loop structure program
JS get link? The following parameter name or value, according to the URL? Judge the parameters after
cv_ Solution of mismatch between bridge and opencv
Go对文件操作
Logic regression principle and code implementation
高德地图搜索、拖拽 查询地址
JS forms the items with the same name in the array object into the same array according to the name
Cloud native Virtualization: building edge computing instances based on kubevirt
[UDS unified diagnostic service] (Supplement) v. detailed explanation of ECU bootloader development points (2)