2

When i start my laptop i have to always manually start mySQL service. is there any way to start the service automatically?

I am using below command to start the service:

sudo /etc/init.d/mysql start
Ashish Viradiya
  • 389
  • 9
  • 17
  • 1
    Check this out: https://stackoverflow.com/questions/9859381/how-make-mysql-start-automatically-linux-cli-only – NID Dec 21 '18 at 06:57

1 Answers1

0

If your OS supports systemd please use following command

sudo systemctl enable mysql

Yasan C
  • 1
  • 3