This chapter is about possible reasons of "Lost connection to MySQL server" error not discussed in previous one.
Chapter 10. Lost connection to MySQL server during query
You can see error "Lost connection to MySQL server" not only because
too small connect_timeout, but because other reasons too. In this
chapter we discuss these reasons.
$php phpconf2009_4.php
string(44) "Lost connection to MySQL server during query"
Most likely error log will show what happened:
Rest of the chapter is here
PlanetMySQL Voting: Vote UP / Vote DOWN