0

How to lock database tables in mysql

hello am new to executing mysql queries. now i have doubt to lock particular table from the database please guide me.

MySQL Add a comment
stewart
asked Oct 20 2017

Answer

0

to lock database table only read use LOCK TABLE TB1 READ; and for write use LOCK TABLE TB1 READ;

Add a comment
arunkumarak
asked Oct 20 2017
edited Oct 05 2018
Post your Answer