HY000 - SQLSTATE[HY000]: General error: 2013 Lost connection to server during query

select p.products_id, p.manufacturers_id, p.products_hidden, p.products_hide, p.product_discontinued, p.products_date_added, p.products_date_available, p.products_image, p.products_image2, p.products_image3, p.products_image4, p.products_image5, p.products_last_modified, p.products_model, p.products_ordered, p.products_price, p.show_products_price, p.products_quantity, p.products_status, p.products_tax_class_id, p.products_weight, p.lagerplats, p.taggar, pd.products_name, pd.products_description, pd.products_keywords, pd.products_metadescription, pd.products_pagetitle, pd.trait, pd.products_url, pd.products_viewed, pts.stores_id, c.categories_id, c.categories_image, c.categories_status, c.distributors_id, c.categories_keywords, c.categories_metadescription, c.categories_pagetitle, cd.categories_description, cd.categories_heading_title, cd.categories_name, cd.categories_products_decription, s.stores_name, s.stores_url, s.stores_image, pcg.customers_group_price, p.sold_in_bundle_only, p.products_bundle from products p inner join products_description pd on pd.products_id = p.products_id and p.products_status = '1' and pd.language_id = '4' inner join products_to_stores pts on pd.products_id = pts.products_id and pts.stores_id = '1201770' inner join products_to_categories ptc on pts.products_id = ptc.products_id inner join categories_to_stores cts on cts.categories_id = ptc.categories_id and cts.stores_id = pts.stores_id inner join categories c on c.categories_id = ptc.categories_id and c.categories_status = '1' inner join categories_description cd on cd.categories_id = ptc.categories_id and cd.language_id = '4' inner join stores s on s.stores_id = pts.stores_id and s.stores_status = '1' left join products_groups pcg on pcg.products_id = p.products_id and pcg.customers_group_id = '1201770' where (p.products_last_modified >= '1970-01-01' or p.products_date_added >= '1970-01-01') and ( p.products_status = '1' or p.products_status = '2' or p.products_status = '3') and (c.categories_status = '1')

[TEP STOP]

SQLSTATE[HY000] [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)Could not connect to database, hiding connection details. Please contact www.EHL.nu for mer info.