Err:MySQL server has gone away [SELECT d.* FROM rorg_data d, rorg_type t WHERE t.ztyp=3 and t.znum=142 and t.zunc=d.zunc and d.uregn=23 order by d.znam LIMIT 0,100]