OS: Ubuntu 19.04
When the MySQL server is installed, it automatically started with the OS. It slows the speed of OS loading. But the computer is for personal, not a DB server. I just want to start it when I need.
Check the MySQL server's status and stop it.
$ service mysql status
$ service mysql stop
Disable autostart:
$ sudo systemctl disable mysql
When you need it, it can be started by:
$ service mysql start
References: