MariaDB [(none)]> SELECT @@GLOBAL.sql_mode; +-------------------------------------------------------------------------------------------+ | @@GLOBAL.sql_mode | +-------------------------------------------------------------------------------------------+ | STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | +------------------------------------------------
![MariaDB(MySQL)をアップグレードしたらINSERTに失敗。[SQL_MODE]](https://cdn-ak-scissors.b.st-hatena.com/image/square/4c0ef810028d6e3a638327706a20805a1b1a61f0/height=288;version=1;width=512/https%3A%2F%2Fonoredekaiketsu.com%2Fwp-content%2Fuploads%2F2019%2F02%2Fmariadb-sql-mode.png)