📅  最后修改于: 2022-03-11 15:05:27.809000             🧑  作者: Mango
If you have persistent problems on MAC
Just find my.cnf file (for big sur is in /usr/local/etc), open it and add:
[mysqld]
sql_mode = STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION