美文网首页django_学习笔记
python manage.py makemigrations

python manage.py makemigrations

作者: Shun2018 | 来源:发表于2019-08-09 15:49 被阅读0次
  • 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

相关文章

网友评论

    本文标题:python manage.py makemigrations

    本文链接:https://www.haomeiwen.com/subject/qashjctx.html