Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table locking

Status
Not open for further replies.

rotis23

Programmer
Aug 29, 2002
121
GB
hi there,

can anyone tell me what happens if:

1) a remote mysql client locks a table in a database
2) the remote client dies/connection dies etc.

does mysql have a timeout or does it remain locked until admin intervention.

TIA, rotis23
 
hi

as the mysql documentation says:

"All tables that are locked by the current thread are automatically unlocked when the thread issues another LOCK TABLES, or when the connection to the server is closed"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top