Mysql Has Gone away
I use comet in mywesite… The comet page returns “Mysql has gone away” error sometimes(about per 3 requests with ajax)
I have used mysqli extension (object-oriented) to connect php with mysql database
even php mysqli -> ping() method doesnt fix this problem…
The best part is This error did not occurred for two months i was using this website with comet
But now it occurres…
Tips: I changed mysql database’s collation to utfmb4_unicode_ci and charset to utbmb4
How can i fix this?