I'm using Ubuntu 12.04 LTS on my machine.
There is on MySQL server situated remotely. I want to restart it.
Can someone please give me in detail step-by-step instructions to restart the MySQL server.
Following are the Database server details of MYSQL I got from phpMyAdmin UI:
Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.5.40-0ubuntu0.14.04.1 - (Ubuntu)
Protocol version: 10
Server charset: UTF-8 Unicode (utf8)
ssh firstname.lastname@example.org. This should provide you with shell access to the Ubuntu server.
sudo service mysql restartshould do the job.
If your mySQL service is named something else like
mysqld you may have to change the command accordingly or try this:
sudo /etc/init.d/mysql restart