python manage.py makemigrations 报错:pymysql.err.InternalError: (1665, 'Cannot execute statement: i...
binlog的格式有三种:STATEMENT,ROW,MIXED;mysql默认的binlog_format是STATEMENT。解决办法修改/etc/my.cnf配置文件,修改binlog_format参数:#ReplicationMasterServer(default)#binaryloggingisrequiredforreplicationlog-bin=mysql-binbinlog_