2025-04-04 08:25:01 MySQL error:
MySQL server has gone away
Query:
SELECT Apteka.Kod,Apteka.NameApt,Ostatok.Cena,SUM(Ostatok.Ost),Apteka.Adres,Apteka.kodName,Apteka.DataPraisa,Apteka.tipURL,Apteka.Region,IF(Apteka.tipURL=0,5,Apteka.tipURL) AS ORD,Apteka.web,Apteka.utm
FROM Ostatok,Tovar,Apteka,Raion
WHERE ( (Ostatok.KodTov='42191')AND(Ostatok.KodApt=Apteka.Kod)AND(Ostatok.KodTov=Tovar.KodTov)and(Apteka.Raion=Raion.Kod) AND((Ostatok.Region='78')OR(Ostatok.Region='ALL')) )
GROUP BY Apteka.Kod,Apteka.NameApt,Ostatok.Cena,Apteka.Adres,Apteka.kodName,Apteka.DataPraisa,Apteka.tipURL
ORDER BY `ORD` ASC, Ostatok.Cena ASC
SELECT Tovar.KodTov,Tovar.NameTov,Tovar.kodName,Tovar.EAN
FROM Tovar
WHERE (Tovar.NamePure LIKE 'кальцемин')AND(Tovar.KodTov<>'42191') AND (Tovar.redirKodTov=0)
ORDER BY Tovar.EAN DESC
LIMIT 0,5
SELECT Kod,TorgNameKod,TorgName,formaVip,ND FROM `_FormaVip` WHERE EAN='70030992569'