通过 show variables like "sql_safe_updates" 查看环境变量的当前值 通过 set sql_select_limit = 0; 修改环境变量 mysql手册的5.1.4小节是环境变量介绍