Microsoft Windows - In a PowerShell terminal type the following command (for those running MySQL 8 the service name is mysql80 , for mysql 5.7 it is mysql57):
net stop mysql80
Linux - In a terminal execute the following command:
sudo systemctl stop mysqld