Django 链接数据库错误 Strick Mode 解决

报错信息:

WARNINGS:
?: (mysql.W002) MySQL Strict Mode is not set for database connection ‘default‘
HINT: MySQL‘s Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See:
https://docs.djangoproject.com/en/1.11/ref/databases/#mysql-sql-mode

 

 

 

posted on 2018-08-30 18:38  <Hbw>  阅读(284)  评论(0编辑  收藏  举报