How to Restart MySQL in Plesk

By Suvro Banerji

Plesk, short for "Parallels Plesk Panel," is commercial Web-hosting automation software. Plesk has its own set of commands to carry out various tasks on H-Sphere servers under Linux and FreeBSD. As an administrator, you can restart your MySQL server using the "Restart" command. Note that you will need administrative privileges on your server to perform this task.

Step 1

Log in to your server computer using administrative rights.

Step 2

Open the terminal window based on the kind of operating system you are using.

Step 3

Type the following command to restart MySQL for Linux-based systems and press the "Enter" key:# /etc/rc.d/init.d/mysqld restart

Step 4

Type the following command to restart MySQL for FreeBSD systems and press the "Enter" key:# /usr/local/etc/rc.d/mysql-server.sh restart

Step 5

Close your terminal window once you have finished restarting your MySQL server.