如何解决mysql 容器无法启动 - 无法初始化 DD 存储引擎
我的容器突然崩溃,现在无法启动:
这是启动和错误/关闭的日志:
Starting dev-laradock_mysql_1 ... done
Attaching to dev-laradock_mysql_1
mysql_1 | 2021-04-19T14:40:37.622458Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
mysql_1 | 2021-04-19T14:40:37.622522Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.16) starting as process 1
mysql_1 | 2021-04-19T14:40:37.624025Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3,but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
mysql_1 | 2021-04-19T14:40:41.405115Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 12 for {space: 14398,page_no:37} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405123Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 13 for {space: 14398,page_no:1} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405129Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 21 for {space: 14398,page_no:31} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405139Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 23 for {space: 14398,page_no:36} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405144Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 53 for {space: 14398,page_no:26} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405151Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 54 for {space: 14398,page_no:25} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405157Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 55 for {space: 14398,page_no:23} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405168Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 57 for {space: 14398,page_no:1} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405173Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 58 for {space: 14398,page_no:4} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405179Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 59 for {space: 14398,page_no:27} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405185Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 60 for {space: 14398,page_no:0} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405195Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 61 for {space: 14398,page_no:2} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405201Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 62 for {space: 14398,page_no:24} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405206Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 63 for {space: 14398,page_no:5} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405212Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 64 for {space: 14398,page_no:28} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405232Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 65 for {space: 14398,page_no:22} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405237Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 66 for {space: 14398,page_no:29} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405242Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 67 for {space: 14398,page_no:30} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405248Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 68 for {space: 14398,page_no:6} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405260Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 69 for {space: 14398,page_no:21} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405265Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 70 for {space: 14398,page_no:31} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405271Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 71 for {space: 14398,page_no:17} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405277Z 1 [Warning] [MY-013088] [InnoDB] Doublewrite page 72 for {space: 14398,page_no:32} could not be restored. File name unknown for tablespace ID 14398
mysql_1 | 2021-04-19T14:40:41.405291Z 1 [ERROR] [MY-012179] [InnoDB] Could not find any file associated with the tablespace ID: 14398
mysql_1 | 2021-04-19T14:40:41.405301Z 1 [ERROR] [MY-012964] [InnoDB] Use --innodb-directories to find the tablespace files. If that fails then use --innodb-force-recovery=1 to ignore this and to permanently lose all changes to the missing tablespace(s)
mysql_1 | 2021-04-19T14:40:41.505537Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
mysql_1 | 2021-04-19T14:40:42.006337Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
mysql_1 | 2021-04-19T14:40:42.006486Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
mysql_1 | 2021-04-19T14:40:42.006905Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql_1 | 2021-04-19T14:40:42.009937Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.16) MySQL Community Server - GPL.
我最近做的唯一一件事就是创建一个新的 docker 容器/项目,其中涉及 mysql,但我不知道这会如何破坏这个容器。最初,当我开始时,一切正常。我在与数据库交互的应用程序中,但随后崩溃了
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。