On Linux

Starting the Server:

1. With Command Line:

  • Step1 : Open the linux CLI and move to the directory where mysqld is stored.
  • Step 2: Type mysqld start.

mysqld start

2. Using service command( In specific Linux distribution)

     Step 1:Ttype sudo service mysqld start.

mysqld start

Stopping the Server:

1. Using the command line type mysqld stop or sudo service mysqld stop

2. With mysqladmin :

    mysqladmin -u <username> shutdown

3. Using the MySQL workbench startup/shutdown tab.


How to Stop MySQL Server on Windows and Linux?

MySQL server is an open-source relational database management system which is a major support for web based applications. Databases and related tables are the main component of many websites and applications as the data is stored and exchanged over the web. 

In this article, we will understand how to start and stop the MySQL servers on windows and Linux.

Similar Reads

On Windows :

Starting the Server:...

On Linux :

Starting the Server:...

Contact Us