- binlog的格式有三种:STATEMENT,ROW,MIXED;
- mysql默认的binlog_format是STATEMENT。
解决办法
修改/etc/my.cnf
配置文件,修改binlog_format
参数:
# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin
binlog_format=ROW
修改/etc/my.cnf
配置文件,修改binlog_format
参数:
# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin
binlog_format=ROW
本文标题:python manage.py makemigrations
本文链接:https://www.haomeiwen.com/subject/qashjctx.html
网友评论