MySQL Forums
Forum List  »  MyISAM

Lock table in MySQL
Posted by: Nishant Dhawan
Date: July 19, 2010 07:24PM

Hello everyone,

I am locking a table in mysql database by using:
LOCK TABLE quantity WRITE;

Even after locking it, I am able to insert data from mysql insert prompt and from my php application as well. Please correct me if I have done something wrong.

Any help would be appreciated. Thanks in advance.

Options: ReplyQuote


Subject
Views
Written By
Posted
Lock table in MySQL
4113
July 19, 2010 07:24PM
2330
July 20, 2010 10:40AM
1862
July 27, 2010 12:44PM
1660
July 26, 2010 11:28PM
1575
September 06, 2010 03:30PM
1828
September 06, 2010 09:51PM
1966
September 06, 2010 10:26PM
2094
September 07, 2010 10:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.