2013 - Lost connection to MySQL server during query

select sum(tax_rate) as tax_rate from tax_rates tr left join zones_to_geo_zones za on (tr.tax_zone_id = za.geo_zone_id) left join geo_zones tz on (tz.geo_zone_id = tr.tax_zone_id) where (za.zone_country_id is null or za.zone_country_id = '0' or za.zone_country_id = '195') and (za.zone_id is null or za.zone_id = '0' or za.zone_id = '161') and tr.tax_class_id = '1' group by tr.tax_priority

[TEP STOP]

2006 - MySQL server has gone away

select count(*) as total from sessions where sesskey = 'nkkiv74o4jbk69d1sc8sm4dr85'

[TEP STOP]