This happend to me today while upgrading to MySQL 5.6 (from 5.5).
But your fix doesn't work for me, there is a empty page, people can spam requests with this causing mysql to freeze.
Please help.
HTML Code:
Linux: Debian 8
HTML Code:
SELECT @@version;
5.6.30-1~bpo8+1
HTML Code:
php -v
PHP 5.6.27-0+deb8u1 (cli) (built: Oct 15 2016 15:53:28)