note 74685 deleted from features.persistent-connections by tularis
| From: | tularis@php.net | Date: | Mon, 23 Apr 2007 21:29:19 +0000 |
| Subject: | note 74685 deleted from features.persistent-connections by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125811@lists.php.net to get a copy of this message | ||
Note Submitter: tenochtitlan at globalgameport dot com
----
I'm just thinking about persistent mysql connections... Now I think of this
"problem":
My script uses different databases at the same connection. What would happen, if two users would
call my script at nearly the same time?
Person A starts and finishes an interaction with DB 1, changes to DB 2 and starts the first query to
DB 2. At this moment person B starts the same script and uses DB 1. Will A's queries fail or
will both script calls work independent despite the same mysql connection?