文章目录

错误原型

Warning at /admin/zinnia/entry/add/

Incorrect string value: '\xE8\xAF\x84\xE8\xAE\xBA...' for column 'object_repr' at row 1

又来新报错

Warning at /admin/zinnia/entry/add/

Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it accesses a non-transactional table after accessing a transactional table within the same transaction.‘

对错误1,已经修改了数据库编码,再保存看看,还报错,再看看

文件解决方法,注意修改数据库和表名哦

1 .alert database tuanplus character set utf8
2 .alter table address convert to character set utf8

文章目录