To stop the MySQL service, you can use the following command:
sudo service mysql stop
This command will stop the MySQL service immediately. If successful, there will typically be no output from the command. You can verify that the service has stopped by checking its status with:
sudo service mysql status
The output should indicate that the MySQL service is inactive or stopped.
