我已经安装了mysql,它运行良好,但是有时候我有:
Aborted connection 114069 to db: 'db1' user: 'root' host: 'localhost' (Got an error reading communication packets)
我试图解决它:sudo mysqld --max_allowed_packet=128M
但是之后,mysql根本无法工作
2019-04-08T18:42:11.047491Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-04-08T18:42:11.047520Z 0 [ERROR] InnoDB: mmap(137428992 bytes) failed; errno 12
2019-04-08T18:42:11.047530Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2019-04-08T18:42:11.047534Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2019-04-08T18:42:11.047539Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-04-08T18:42:11.047555Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-04-08T18:42:11.047559Z 0 [ERROR] Failed to initialize builtin plugins.
2019-04-08T18:42:11.047562Z 0 [ERROR] Aborting
我不知道mysql写这个文件到哪个文件来删除它。我该如何解决或回滚?