数据库SQLSTATE[42000]: Syntax error or access violation 云博小周宇2024年5月5日2023年8月21日1 Min Read 出现这种问题 直接修改my.cnf 即可 在mysqld下面添加sql_mode=”” 然后保存 -》重启mysql