Why can I still insert null values when not null, is set in mysql?

Table structure

clipboard.png

Feb.27,2021

this is an empty string "", unlike null


mysql.ini file
sql-mode= "NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
change to
sql-mode= "STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
, an error will occur

in fact, this is mysql to help you convert null into'

.
Menu