Page 1 of 1

preventing mysqld from starting at boot

Posted: Wed Jul 26, 2017 1:40 pm
by hstoellinger
Hello,
I am not sure whether this is the right forum section to ask this question, but...
how can I prevent the mysqld service (daemon)from automatically starting at
boot time. I only need it on rare occasions. I run Mint 18.2-64bit.
Thanks for any hints
Regards
H. Stöllinger

Re: preventing mysqld from starting at boot

Posted: Wed Jul 26, 2017 2:35 pm
by JoeFootball
This article has some ideas.

Joe

Re: preventing mysqld from starting at boot

Posted: Wed Jul 26, 2017 4:09 pm
by greerd
I think on 18.x which has systemd,

to see mysql status

Code: Select all

systemctl status mysqld.service
to stop mysql service

Code: Select all

sudo systemctl stop mysqld.service
to disable at startup

Code: Select all

sudo systemctl disable mysqld.service
[EDIT] edited mysql.service to mysqld.service

Re: preventing mysqld from starting at boot

Posted: Thu Jul 27, 2017 6:57 am
by hstoellinger
Thanks for the hints! Everything o.k. now. I actually hadn't installed a mysql server separately. The mysqld process shown on the system monitor belonged to Akonadi. It uses over 220MB storage. After installing MySQL-Server 5.7 I now see TWO mysqld processes running.
Regards
H. Stoellinger