![Which option should I use to avoid error #2006 on MySQL (Docker Compose) - Database Administrators Stack Exchange Which option should I use to avoid error #2006 on MySQL (Docker Compose) - Database Administrators Stack Exchange](https://i.stack.imgur.com/sy5Ii.png)
Which option should I use to avoid error #2006 on MySQL (Docker Compose) - Database Administrators Stack Exchange
![mysqli::real_connect(): (HY000/2006): MySQL server has gone away · Issue #2514 · laradock/laradock · GitHub mysqli::real_connect(): (HY000/2006): MySQL server has gone away · Issue #2514 · laradock/laradock · GitHub](https://user-images.githubusercontent.com/27954794/75109665-fc1b1c00-5657-11ea-8bc7-50fe6ba14418.png)
mysqli::real_connect(): (HY000/2006): MySQL server has gone away · Issue #2514 · laradock/laradock · GitHub
![MySQL statement prepare error [2006]: MySQL server has gone away during new Install | XenForo community MySQL statement prepare error [2006]: MySQL server has gone away during new Install | XenForo community](https://xenforo.com/community/data/attachments/238/238643-3a3a77dbc68fe29d893e041587df4e81.jpg)
MySQL statement prepare error [2006]: MySQL server has gone away during new Install | XenForo community
![MySQL server has gone away - Cannot connect: invalid settings. · Issue #6191 · typeorm/typeorm · GitHub MySQL server has gone away - Cannot connect: invalid settings. · Issue #6191 · typeorm/typeorm · GitHub](https://user-images.githubusercontent.com/2174170/83719707-4ba8b500-a655-11ea-9dea-907e4300fbe9.png)