1376063054 - 2013: Lost connection to MySQL server during query

SQL: SELECT `trefcode`.`area_code` as `ref_area_code`,`turlcode`.`area_code` as `url_area_code`,`turltitle`.`title` as `url_title`,`treftitle`.`title` as `ref_title`,`turldom`.`domain` as `url_dom`,`turlpath`.`path` as `url_path`,`trefdom`.`domain` as `ref_dom`,`trefpath`.`path` as `ref_path`,`entrance`,`params`,`untouched` FROM `visitor_browser_urls` INNER JOIN `visitor_data_pages` AS `turl` ON `visitor_browser_urls`.`url`=`turl`.`id` INNER JOIN `visitor_data_pages` AS `tref` ON `visitor_browser_urls`.`referrer`=`tref`.`id` INNER JOIN `visitor_data_domains` AS `trefdom` ON `tref`.`domain`=`trefdom`.`id` INNER JOIN `visitor_data_domains` AS `turldom` ON `turl`.`domain`=`turldom`.`id` INNER JOIN `visitor_data_paths` AS `trefpath` ON `tref`.`path`=`trefpath`.`id` INNER JOIN `visitor_data_paths` AS `turlpath` ON `turl`.`path`=`turlpath`.`id` INNER JOIN `visitor_data_titles` AS `treftitle` ON `tref`.`title`=`treftitle`.`id` INNER JOIN `visitor_data_titles` AS `turltitle` ON `turl`.`title`=`turltitle`.`id` INNER JOIN `visitor_data_area_codes` AS `trefcode` ON `tref`.`area_code`=`trefcode`.`id` INNER JOIN `visitor_data_area_codes` AS `turlcode` ON `turl`.`area_code`=`turlcode`.`id` WHERE `visitor_browser_urls`.`browser_id`='7d97e04db4' ORDER BY `visitor_browser_urls`.`entrance` ASC;
1376063062 - 2006: MySQL server has gone away

SQL: SELECT * FROM `visitor_chats` WHERE `visitor_id`='2cc65d4668' AND `browser_id`='7d97e04db4' ORDER BY `first_active` DESC LIMIT 2;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='3342ad7' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='3342ad7'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='2e60038' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='2e60038'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='bd8ed41' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='bd8ed41'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='0dfcc29' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='0dfcc29'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='e7f412e' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='e7f412e'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='f9abd11' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='f9abd11'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='ca6706b' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='ca6706b'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='09ec1e5' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='09ec1e5'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `operators` WHERE `id`='3943282' LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `predefined` WHERE `internal_id`='3943282'
1376063063 - 2006: MySQL server has gone away

SQL: SELECT * FROM `visitor_chat_operators` WHERE `chat_id`='' AND `declined`=0;
1376063063 - 2006: MySQL server has gone away

SQL: UPDATE `visitors` SET `last_active`='1376063063' WHERE `id`='2cc65d4668' ORDER BY `entrance` DESC LIMIT 1;
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_paths` (`id`, `path`) VALUES (NULL, '');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id` FROM `visitor_data_paths` WHERE `path`='';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_domains` (`id`, `domain`, `search`) VALUES (NULL, '', '0');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id`,`external`,`search` FROM `visitor_data_domains` WHERE `domain`='';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_area_codes` (`id`, `area_code`) VALUES (NULL, '');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id` FROM `visitor_data_area_codes` WHERE `area_code`='';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_titles` (`id`, `title`) VALUES (NULL, '');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id` FROM `visitor_data_titles` WHERE `title`='';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_pages` (`id`, `path`, `domain`,  `title`, `area_code`) VALUES (NULL, '',  '',  '', '');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id`,`title` FROM `visitor_data_pages` WHERE `path`='' AND `domain`='';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_paths` (`id`, `path`) VALUES (NULL, '/livezilla/chat.php');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id` FROM `visitor_data_paths` WHERE `path`='/livezilla/chat.php';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_domains` (`id`, `domain`, `search`) VALUES (NULL, 'http://www.sankarlohotel.com.br', '0');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id`,`external`,`search` FROM `visitor_data_domains` WHERE `domain`='http://www.sankarlohotel.com.br';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_area_codes` (`id`, `area_code`) VALUES (NULL, '');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id` FROM `visitor_data_area_codes` WHERE `area_code`='';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_titles` (`id`, `title`) VALUES (NULL, 'Fale com um de nossos Colaboradores - San Karlo Hotel');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id` FROM `visitor_data_titles` WHERE `title`='Fale com um de nossos Colaboradores - San Karlo Hotel';
1376063063 - 2006: MySQL server has gone away

SQL: INSERT INTO `visitor_data_pages` (`id`, `path`, `domain`,  `title`, `area_code`) VALUES (NULL, '',  '',  '', '');
1376063063 - 2006: MySQL server has gone away

SQL: SELECT `id`,`title` FROM `visitor_data_pages` WHERE `path`='' AND `domain`='';
