note 47554 added to function.mysql-pconnect

From: Date: Sat, 20 Nov 2004 01:08:19 +0000
Subject: note 47554 added to function.mysql-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-80788@lists.php.net to get a copy of this message
Be very careful when using persistent connections and temporary tables on MySQL: in MySQL, temporary tables are visible only to the currenct connection, but if you have a persistent connection the temporary tables will supposedly be visible to everybody sharing the same persistent connection. This can lead to major trouble. I suggest to use totally random temporary table names when using persistent connections to avoid major problems. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47554 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47554&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47554&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47554&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47554&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47554&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47554&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47554&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#80788) next »