Linux服务器重启后MySQL启动失败

Redirecting to /bin/systemctl start  mysql.service Job for mysqld.service failed because the control

 

原因是Linux服务器在启动时么有自动将MySQL所在的磁盘挂载到对应的文件目录下

 

mount /dev/vdb1 /data

ln -s /data/mysql/mysql_3306/mysql.sock /tmp/mysql.sock

service mysql start

systemctl status mysql

 

posted @ 2019-03-08 11:08  我只吃大碗  阅读(4393)  评论(0编辑  收藏  举报