I am accessing my MySQL database on AWS using MySQL Workbench. When I execute a query through Workbench or even localhost
(from my PHP code) I am getting an error saying:
Mysql server gone away
I went through some of the Stack Overflow articles and which mentioned to check the wait_timeout
. My wait_timeout
when running Show Variables is set at 28800
. I am not sure why I am getting the error.