Mysql is set to unsigned and double without reporting errors when inserting numbers less than 0

mysql is set to unsigned and double when no error is reported when inserting a number less than 0, it will automatically become 0, but not an error. I need him to report an error and run a rollback in the transaction. How should I set

?
Mar.04,2021

mysql strict mode and loose mode learn the following

Menu