简体   繁体   English

MySQL 服务未自动启动

[英]MySQL Service not start automatically

When i start my laptop i have to always manually start mySQL service.当我启动我的笔记本电脑时,我必须始终手动启动 mySQL 服务。 is there any way to start the service automatically?有没有办法自动启动服务?

I am using below command to start the service:我正在使用以下命令启动服务:

sudo /etc/init.d/mysql start

如果您的操作系统支持 systemd,请使用以下命令

sudo systemctl enable mysql

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM