![php - How to deal with "mysqli::real_connect(): (HY000/2006): MySQL server has gone away" error while trying to connect an offline db with heroku's ClearDB? - Stack Overflow php - How to deal with "mysqli::real_connect(): (HY000/2006): MySQL server has gone away" error while trying to connect an offline db with heroku's ClearDB? - Stack Overflow](https://i.stack.imgur.com/YMqeg.png)
php - How to deal with "mysqli::real_connect(): (HY000/2006): MySQL server has gone away" error while trying to connect an offline db with heroku's ClearDB? - Stack Overflow
MySQL 5.7+ SQLSTATE[HY000]: General error: 2006 MySQL server has gone away - caused by plugin Actions · Issue #9419 · matomo-org/matomo · GitHub
![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)