AI Features

Get Started with the MySQL Server

Learn commands to verify, start, and stop the MySQL server.

We’ll discuss the basics of the MySQL server, including how to start and stop using different methods and how to verify if the server is running. Note that we can run all the following commands in the terminal at the end of the lesson.

Verify MySQL is running as a server

Let’s start a terminal.

Using the terminal, we’re going to check whether the MySQL server is running or not. In order to do that, we type in the following command:

ps -ef |grep 'mysql'
...