How to Start/Restart/Stop the mysqld Service


I have written an article on how to start/restart/stop the httpd service, and decided to write another one for the mysqld service. You will need SSH root access.
Difficulty level: Easy

1. Establish a SSH connection and login as a root user.

The commands are as follows:

Start it:

/etc/init.d/mysqld start
service mysqld start

Restart it:

/etc/init.d/mysqld restart
service mysqld restart

Stop it:

/etc/init.d/mysqld stop
service mysqld stop

2. Execute any of the needed commands, if one does not work, try the other one.

That is all! If you need an article on how to start/restart/stop any other service, please let me know!

Anything else, do not hesitate to contact me 🙂

Best Regards,
Owner of

Looking for quality Linux Web Hosting? Try out Arvixe web hosting and you won’t be disappointed.
Tags: , , , , , , , , , | Posted under Linux Server Admin, Linux Usability | RSS 2.0

Author Spotlight

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

Your email address will not be published. Required fields are marked *