database - Still getting stuck with Mysql 2013 error after changing read time out -
i'm relatively new database programming , i'm hoping can me error since i'm out of ideas.
i keep getting "mysql error code 2013: lost connection mysql server during query". wrote not-short , not-simple query select statements embedded 2 or 3 levels deep in "from" clause. though can't imagine in grand scheme of queries particularly complex. when copy , paste inner queries separate tab , run them, run in under 2 seconds. when joined 1 query i'm getting 2013 error. under "duration/fetch time" field says somewhere between 50-60 seconds each time try make work.
i've read other threads , #1 recommendation increase "dbms connection read time out (in seconds):" in mysql workbench. did that. , i'm still getting problem.
i've tried in 2 different locations highly doubt there's connection issue.
any ideas?
try changing max_allowed_packet higher value.
try show global variables 'max_allowed_packet'
checking current value ,
set global max_allowed_packet = <higher value>
you can set in my.ini/cnf
Comments
Post a Comment