Suppose there is any problem or your MySQL has stopped working and you need to restart the MySQL by using the SSH Command for this it you need to connect your server by using the SSH Credentials, Here I assume that you have the full/root access with the sudoer