My local environment is:
with installed MySQL 5.7
sudo apt-get install mysql-common mysql-se
You can try with the below commands:
hduser@master:~$ sudo /etc/init.d/mysql stop [ ok ] Stopping mysql (via systemctl): mysql.service. hduser@master:~$ sudo /etc/init.d/mysql start [ ok ] Starting mysql (via systemctl): mysql.service.