PHP MYSQL table locking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I understand table locking with MYSQL.

My concern is this. What happens if a php script issues a LOCK, and then somehow crashes without issuing an UNLOCK?

All other scripts will not be able to access the LOCKed tables.

What is the solution for a situation like this? It will be pretty unlikely, but I'm curious if there is anything I can do to mitigate this situation.

--
-James Tu
-----------------------------------
ESI Design
111 Fifth Avenue 12th floor
New York, NY 10003
(212) 989-3993 ext. 357
(212) 673-4061 (fax)
-----------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux