ERROR #1045: Access denied for user ''@'localhost' (using password: NO)
QUERY #1:
"SELECT c.id, d.field1, d.field2, d.field3 FROM config AS c LEFT JOIN details AS d ON c.id = d.id_config LEFT JOIN sequence AS s ON c.id = s.id_config LEFT JOIN activity AS a ON c.id = a.id_config WHERE c.nazwa LIKE 'zapytania' and a.field0 = 1 order by s.field0 LIMIT 1"
ERROR #1045: Access denied for user ''@'localhost' (using password: NO)
QUERY #2:
"SELECT c.id, d.field0 FROM config AS c LEFT JOIN details AS d ON c.id = d.id_config LEFT JOIN sequence AS s ON c.id = s.id_config LEFT JOIN activity AS a ON c.id = a.id_config LEFT JOIN date AS t ON c.id = t.id_config WHERE c.nazwa LIKE 'banner' and a.field0 = 1 and d.field1 = 'partnerzy' order by s.field0"
ERROR #1045: Access denied for user ''@'localhost' (using password: NO)
QUERY #3:
"Select g.id, g.foto as f, m.foto from galeria as g LEFT JOIN galeriamini as m ON m.id_zdjecia = g.id where g.nazwa like 'banner' and g.identyfikator = order by kolejnosc DESC"