Django 执行makemigrations 的时候报错: django.db.utils.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET SESSION TRANSACTION ISOLATION LEVEL R…
mysql /*SESSION LEVEL*/ select @@tx_isolation; /*GLOBAL LEVEL*/ select @@global.tx_isolation; select 'SESSION' as scope,@@tx_isolation UNION select 'GLOBAL' as scope,@@global.tx_isolation; -- SESSION REPEATABLE-READ -- GLOBAL REPEATABLE-READ java.sql…