hans941
deepin
2018-03-22 01:12 本帖最后由 hans941 于 2018-3-21 17:49 编辑
已解决
两种方案
1.查找 ’=600‘ 这个字符所在位置 发现是在 /etc/systemd/system/multi-user.target.wants/mysql.service
修改/etc/systemd/system/multi-user.target.wants/mysql.service文件中TimeoutSec=10
2.关机前自己停止mysql的服务
本质上应该是时区的问题,大神可以解答下为什么~
已解决
两种方案
1.查找 ’=600‘ 这个字符所在位置 发现是在 /etc/systemd/system/multi-user.target.wants/mysql.service
修改/etc/systemd/system/multi-user.target.wants/mysql.service文件中TimeoutSec=10
2.关机前自己停止mysql的服务
本质上应该是时区的问题,大神可以解答下为什么~
Reply Like 0 View the author


中文 

deepin关机卡在图标界面 a stop job is running for mysql Community service (20s/10min)必须等到转到10分钟才能关机
一些尝试解决的参考贴:
https://askubuntu.com/questions/892026/shutdown-hangs-on-a-stop-job-is-running-to-for-mysql-community-server-on-ubunt/907215
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1600164/comments/11
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1600164