server:
ubuntu 20.04 upgraded from 19.04-19.10
所有的配置都是默认配置
最近出现的现象是每天早晨 mysql 都死掉一次
看了一下 log:
/var/log/mysql/error.log 空的
journalctl -u mysql
5 月 13 09:13:17 dbserver systemd[1]: Started MySQL Community Server.
5 月 14 06:32:10 dbserver systemd[1]: Stopping MySQL Community Server...
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.422356Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.423318Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.423484Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.423610Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.423736Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.424586Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.424905Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.425168Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.425784Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.425939Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.426085Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.426703Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.426836Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:14 dbserver mysqld[153217]: 2020-05-13T22:32:14.427059Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld>
5 月 14 06:32:16 dbserver mysqld[153217]: 2020-05-13T22:32:16.528334Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld:>
5 月 14 06:32:16 dbserver systemd[1]: mysql.service: Succeeded.
5 月 14 06:32:16 dbserver systemd[1]: Stopped MySQL Community Server.
5 月 14 10:48:42 dbserver systemd[1]: Starting MySQL Community Server...
5 月 14 10:48:43 dbserver mysqld[357768]: 2020-05-14T02:48:43.137757Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld >
5 月 14 10:48:43 dbserver mysqld[357768]: 2020-05-14T02:48:43.200153Z 1 [System] [MY-013576] [InnoDB] InnoDB initializa>
5 月 14 10:48:45 dbserver mysqld[357768]: 2020-05-14T02:48:45.804530Z 1 [System] [MY-013577] [InnoDB] InnoDB initializa>
5 月 14 10:48:46 dbserver mysqld[357768]: 2020-05-14T02:48:46.347771Z 0 [System] [MY-011323] [Server] X Plugin ready fo>
5 月 14 10:48:48 dbserver mysqld[357768]: 2020-05-14T02:48:48.283291Z 0 [Warning] [MY-010068] [Server] CA certificate c>
5 月 14 10:48:48 dbserver mysqld[357768]: 2020-05-14T02:48:48.387365Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld:>
5 月 14
也没有啥有用的信息
求教,我在哪能查到 mysql 是为啥被关闭了?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.