中止连接 10 到数据库:'acore_auth' 用户:'root' 主机:'172.18.0.3'(读取通信数据包时出错)

Aborted connection 10 to db: 'acore_auth' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)

我的 AzerothCore docker-compose 失败并显示以下内容:

ac-database_1     | 2019-05-28T16:53:22.645200Z 10 [Note] Aborted connection 10 to db: 'acore_auth' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645268Z 8 [Note] Aborted connection 8 to db: 'acore_characters' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645271Z 9 [Note] Aborted connection 9 to db: 'acore_auth' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645487Z 4 [Note] Aborted connection 4 to db: 'acore_world' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645273Z 7 [Note] Aborted connection 7 to db: 'acore_characters' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645549Z 5 [Note] Aborted connection 5 to db: 'acore_world' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645302Z 6 [Note] Aborted connection 6 to db: 'acore_characters' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)

真正的错误就在数据库记录之前:

ac-worldserver_1  | Map file '/azeroth-server/data/maps/0004331.map': does not exist!

这意味着:数据文件丢失。

正如 official guide 所说,我必须:

Put your data files into the docker/worldserver/data/ folder that is inside azerothcore-wotlk.

我在 docker-compose-up 创建数据库后遇到了问题,该数据库世界不断关闭并将其记录在日志中

ac-database_1     | Version: '5.7.29'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
ac-database_1     | 2020-04-10T10:23:13.975275Z 10 [Note] Aborted connection 10 to db: 'acore_auth' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975247Z 7 [Note] Aborted connection 7 to db: 'acore_characters' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975278Z 8 [Note] Aborted connection 8 to db: 'acore_characters' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975789Z 3 [Note] Aborted connection 3 to db: 'acore_world' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975889Z 9 [Note] Aborted connection 9 to db: 'acore_auth' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975272Z 5 [Note] Aborted connection 5 to db: 'acore_world' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
azerothcore-wotlk_ac-worldserver_1 exited with code 137

通过将内存从默认的 1 GB 增加到 2 GB 来解决这个问题。 这是增加的方法 https://www.petefreitag.com/item/848.cfm