Get the App
SLTechnology News&Howtos  ›  Database  › 

Method of shutting down mysql server

Shulou Source: shulou.com Published: 2022-06-01 04:13:11 10月03日 Update

Editor to share with you how to close mysql server, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

The way to shut down mysql server is to log in to the roo user first, and then execute the [/ etc/init.d/mysqld stop] command. Execute the [/ etc/init.d/mysqld start] command if you want to turn on mysql server.

To turn on / off / restart MySql Server, first log in to your root account.

If you are using RedHat/Fedora, you can use these commands:

Enable:

/ etc/init.d/mysqld start

Close:

/ etc/init.d/mysqld stop

Restart:

/ etc/init.d/mysqld restart above is all the contents of the method to close mysql server, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Methods commands content articles login not much most more users knowledge industry accounts information information channels channels references learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MySQL NVidia Xiaomi vpn