当前位置:网站首页>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
边栏推荐
- C network related operations
- Format problems encountered in word typesetting
- 极致体验,揭晓抖音背后的音视频技术
- xlsxwriter. exceptions. Filecreateerror: [errno 13] permission denied
- Read excel, int digital time to time
- Open source key component multi_ Button use, including test engineering
- Tell the truth of TS
- 2022 Jiangxi Photovoltaic Exhibition, China distributed Photovoltaic Exhibition, Nanchang solar energy utilization Exhibition
- Calculation of fishing net road density
- C byte array (byte []) and string are converted to each other
猜你喜欢

In JS, t, = > Analysis of

2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition

MySQL 中的字符串函数

Nat commun | current progress and open challenges of applied deep learning in Bioscience

2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展
![[UDS unified diagnostic service] (Supplement) v. detailed explanation of ECU bootloader development points (2)](/img/91/3272d5ad04cd1d8476c739546f4356.png)
[UDS unified diagnostic service] (Supplement) v. detailed explanation of ECU bootloader development points (2)

Nat Commun|在生物科学领域应用深度学习的当前进展和开放挑战

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

Data stream encryption and decryption of C

C# 的数据流加密与解密
随机推荐
Halo open source project learning (II): entity classes and data tables
Build openstack platform
undefined reference to `Nabo::NearestNeighbourSearch
Random number generation of C #
I/O多路复用及其相关详解
JS get link? The following parameter name or value, according to the URL? Judge the parameters after
Utilisation de la liste - Ajouter, supprimer et modifier la requête
Process management command
Tell the truth of TS
Welcome to the markdown editor
2022 Jiangxi energy storage technology exhibition, China Battery exhibition, power battery exhibition and fuel cell Exhibition
Eigen learning summary
Vite configure proxy proxy to solve cross domain
MySQL 中的字符串函数
String function in MySQL
Encapsulate a timestamp to date method on string prototype
In JS, t, = > Analysis of
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
Open source key component multi_ Button use, including test engineering
Go file operation