J'ai trouvé un article intitulé "MYSQL WITH NOLOCK"
https:/ /web.archive.org/web/20100814144042/http://sqldba.org/articles/22-mysql-with-nolock.aspx
dans MS SQL Server, vous feriez ce qui suit :
SELECT * FROM TABLE_NAME WITH (nolock)
et l'équivalent MYSQL est
SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED ;
SELECT * FROM TABLE_NAME ;
SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ ;
MODIFIER
Michael Mior suggéré ce qui suit (à partir des commentaires)
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED ;
SELECT * FROM TABLE_NAME ;
COMMIT ;