我使用此sql语句将报告错误:
SELECT case_option.plan_id AS plan_id,case_option.case_id AS case_id,options.option_name AS option_name,case_option.option_value as option_value,options.option_type AS option_type,options.option_or_env AS option_or_env FROM case_option left join options on case_option.option_id = options.id where case_option.plan_id =90913 and case_option.case_id=30126
但是使用它不会报告错误:
SELECT case_option.plan_id AS plan_id,case_option.case_id AS case_id,options.option_name AS option_name,case_option.option_value as option_value,options.option_type AS option_type,options.option_or_env AS option_or_env FROM case_option left join options on case_option.option_id = options.id where case_option.plan_id =90913 and case_option.case_id=30126
答案 0 :(得分:0)
将net_read_timeout值检查到mysql中。您可以使用以下参数进行设置。
SET @@ local.net_read_timeout = 360;
还要将max_allowed_packet值检查到mysql配置文件中