Jat*_*eth 13 upgrade server mysql 16.04
我正在使用 MySQL(5.7) 运行 Ubuntu(16.04)。每天当 Ubuntu 作业(每日 apt 升级和清理活动)运行时,它会停止 MySQL 服务,我将不得不手动重新启动它。我的syslog
条目如下:
May 17 06:53:19 campaygn-production systemd[1]: Starting Daily apt upgrade and clean activities...
May 17 06:53:27 campaygn-production systemd[1]: Reloading.
May 17 06:53:27 campaygn-production systemd[1]: Started ACPI event daemon.
May 17 06:53:27 campaygn-production systemd[1]: Stopping MySQL Community Server...
May 17 06:53:36 campaygn-production systemd[1]: Stopped MySQL Community Server.
Run Code Online (Sandbox Code Playgroud)
如何停止 ubuntu 每次都关闭 mysql?
cod*_*key 14
我不确定是否有可能阻止 mysql 被更新过程杀死。我遇到了同样的问题,我完全禁用了无人值守更新,以便我可以按照自己的时间表进行更新(也在 qa 环境中测试它们之后)。要完全禁用自动每日更新:
sudo apt-get remove unattended-upgrades
sudo systemctl stop apt-daily.timer
sudo systemctl disable apt-daily.timer
sudo systemctl disable apt-daily.service
sudo systemctl daemon-reload
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
16770 次 |
最近记录: |