As I look at upgrading my site I noticed the use of pconnect:
$this->link = @mysql_pconnect($full_host, $this->user, $this->password);
I had changed this to using connect instead. Isn't the use of pconnect the leading cause of "My SQL server went away" on shared hosts? I remember facing that back on my crappy VPS and it was because of too many connections to the sql server.