Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /homepages/29/d13368333/htdocs/bb/includes/dbconn.php on line 12

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /homepages/29/d13368333/htdocs/bb/includes/dbconn.php on line 13

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/29/d13368333/htdocs/bb/includes/dbObjects.php on line 560

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /homepages/29/d13368333/htdocs/bb/includes/dbObjects.php on line 560
select p.* from (pics p, ((select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='HORN-LEHE') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='VORSTRASSE') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='LILIENTHALER HEERSTRASSE') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='LEHER KREISEL') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='LEHE') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='HORN') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='KOPERNIKUSSTRASSE') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='OHNSTRASSE') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='OSTWALDSTRASSE') union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='WILHELM-RÖNTGEN-STRASSE') ) c) where (p.invisible = 0 and p.dbset='Bremen') and p.picid = c.picid order by picid