[root@localhost etc]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fbf81e9d1da4 mysql:5.6 "docker-entrypoint.s…" 18 months ago Restarting (1) 15 seconds ago mysql
状态就一直是:Restarting (1) ,之前好好的,莫名的今天出现,然后数据库就不能正常连接了。
错误日志:
2022-02-24 16:14:15+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2022-02-24 16:14:15+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.49-1debian9 started.
2022-02-24 16:14:15 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2022-02-24 16:14:15 0 [Note] mysqld (mysqld 5.6.49) starting as process 1 ...
2022-02-24 16:14:15 1 [Note] Plugin 'FEDERATED' is disabled.
2022-02-24 16:14:15 1 [Note] InnoDB: Using atomics to ref count buffer pool pages
2022-02-24 16:14:15 1 [Note] InnoDB: The InnoDB memory heap is disabled
2022-02-24 16:14:15 1 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2022-02-24 16:14:15 1 [Note] InnoDB: Memory barrier is not used
2022-02-24 16:14:15 1 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-02-24 16:14:15 1 [Note] InnoDB: Using Linux native AIO
2022-02-24 16:14:15 1 [Note] InnoDB: Using CPU crc32 instructions
2022-02-24 16:14:15 1 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2022-02-24 16:14:15 1 [Note] InnoDB: Completed initialization of buffer pool
2022-02-24 16:14:16 1 [ERROR] InnoDB: Error in system call pread(). The operating system error number is 5.
2022-02-24 16:14:16 7f132ae7e040 InnoDB: Operating system error number 5 in a file operation.
InnoDB: Error number 5 means 'Input/output error'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
2022-02-24 16:14:16 1 [ERROR] InnoDB: File (unknown): 'read' returned OS error 105. Cannot continue operation
有哪位清楚或者遇到过并有解决方案的吗?