linux下配置mysql开机自启动 echo "service mysqld start" >> /etc/rc.local 或者是echo "systemctl start mysqld " >> /etc/rc.local