This website explains MySQL server installation in Ubuntu 18.04. Basically you issue the command sudo apt install mysql-server
. The same website then explains that:
Once the installation is completed, the MySQL service will start automatically. To check whether the MySQL server is running, type:
sudo systemctl status mysql
Does this imply that once I install mysql-server
it will always be running in the background unless I explicitly kill the process upon each reboot?
I want to play around with mysql-server
occasionally, but don't want it constantly running in the background.
sudo systemctl disable mysql
once at the command line to disable indefinitely? Or do I need to add thissudo systemctl disable mysql
command to some startup script to run each time I boot Ubuntu? Thank you. – Display name Aug 19 '19 at 16:59sudo apt install mysql-workbench
do I need to worry about following any similar process? Or does MySQL Workbench have nothing to do with running a server, hence I just click thex
to close it like any other program (Blender, LibreOffice, etc.)? – Display name Aug 20 '19 at 13:37