There are certain posts on MySQL connection set time out from PHP using mysql.connect_timeout. I want to know if this set timeout from PHP just time out the initial connecti
Use MySQL version 5.7.4 or above and set appropriate "max_statement_time" variable, query will fail if timeout is reached
see http://mysqlserverteam.com/server-side-select-statement-timeouts/