Error in query: SELECT DISTINCT speccode,specflag,spectext FROM parts,partsspec WHERE speccode = SPEC1_CODE AND modelcode = MODEL_CODE AND MODEL_CODE ='AEBA11' AND SUBGROUP_CODE = '6110AB' AND langid = 1 . Lost connection to MySQL server during query