I am facing this serious issue. My application shows this error often:
<h1>A Database Error Occurred</h1>
<p>Error Number: 2006</p><p>MySQL server has gone away</p><p>UPDATE `leads` SET `sellerId` = '41', `leadDate` = '2018-02-20'
WHERE `leadId` = '1885'</p><p>Filename: models/LeadsModel.php</p><p>Line Number: 436</p> </div>
-
Error while sending QUERY packet. PID=4508
I know that there are many people provided solutions for this issue but nothing worked for me.
Even I changed max_allowed_packet
max_allowed_packet=20528M
But still don't work. Error message is not giving any clue.
Any solution to this?
Thanks in advance