Docker 中止了10到db:'的连接;acore#u auth';用户:';根';主持人:' ;;172.18.0.3';(读取通信数据包时出错)

Docker 中止了10到db:'的连接;acore#u auth';用户:';根';主持人:' ;;172.18.0.3';(读取通信数据包时出错),docker,docker-compose,azerothcore,Docker,Docker Compose,Azerothcore,My AzerothCoredocker 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

My 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!
这意味着:数据文件丢失

如前所述,我必须:

将数据文件放入azerothcore wotlk内的docker/worldserver/data/文件夹


在docker compose创建了一个数据库之后,我遇到了一些问题,而这个数据库一直被关闭并记录在日志中

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来修复此问题。 下面是如何增加