I've installed mysql, it works well, but sometimes I have:
Aborted connection 114069 to db: 'db1' user: 'root' host: 'localhost' (Got an error reading communication packets)
I've tried to solve it:sudo mysqld --max_allowed_packet=128M
but after it mysql doesn't work at all
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
I don't know to which file mysql wrote this confit to remove it. How can I solve it or rollback?