In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge points of this article "how to stop mysql service under linux", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to stop mysql service under linux" article.
The method of linux to stop the mysql service: 1, execute the "mysqladmin-u root shutdown" command in the terminal to shut down the mysql service; 2, execute the "service mysql stop" command in the terminal to close the mysql service.
The operating environment of this tutorial: linux5.9.8 system, mysql8 version, Dell G3 computer.
There are two ways to view mysql services under linux:
Method 1:
[root@localhost bin] ps-ef | grep mysql
Method 2:
[root@localhost bin] there are two ways to disable and stop mysql service under netstat-nlplinux:
Command line mode:
[root@localhost] mysqladmin-u root shutdown
Mode of service:
There are two ways to start mysql service under [root@localhost ~] service mysql stoplinux:
Command line mode:
[root@localhost bin] cd / usr/bin [root@localhost bin]. / mysqld_safe &
Mode of service:
[root@localhost ~] service mysql start if the service is started, restart the service directly with the following command: [root@localhost ~] service mysql restart is about "how to stop mysql service under linux". I believe you all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to learn more about the relevant knowledge, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.