MySQL not null cancellation conditions

1] recently changed my development environment, before running the script appeared in the case, "running CRUD failure" by the investigation, because the data table of the field has not null,

The script actually do not have this field. Before considering server with the production environment is also the case, so look for related settings

 

Open mysql.ini 

Add in the [mysqld] section

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

The script will be able to restart the service before normal operation

Guess you like

Origin www.cnblogs.com/chenliuxiao/p/12403882.html