note 93790 added to function.mysql-ping

From: Date: Tue, 29 Sep 2009 15:28:10 +0000
Subject: note 93790 added to function.mysql-ping
Groups: php.notes 
Request: Send a blank email to php-notes+get-161142@lists.php.net to get a copy of this message
mysql_ping() is really helpful when you have this annoying error: MYSQL Error 2006 Server has gone away For CI users: In 1.7.2 version of codeigniter, there is a function $this->db->reconnect() that uses mysql_ping() to reestablish the timed out connection. This function is specially useful when developing social media sites that uses hundreds of connections to the db such asinserting or selecting. ---- Server IP: 208.69.120.35 Probable Submitter: 201.154.133.251 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-ping.php Edit -- https://master.php.net/note/edit/93790 Del: integrated -- https://master.php.net/note/delete/93790/integrated Del: useless -- https://master.php.net/note/delete/93790/useless Del: bad code -- https://master.php.net/note/delete/93790/bad+code Del: spam -- https://master.php.net/note/delete/93790/spam Del: non-english -- https://master.php.net/note/delete/93790/non-english Del: in docs -- https://master.php.net/note/delete/93790/in+docs Del: other reasons-- https://master.php.net/note/delete/93790 Reject -- https://master.php.net/note/reject/93790 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161142) next »