select count(uid) as count from prod_tour inner join map_category as c on c.cid = 209 and c.code = 24 and c.pid = prod_tour.uid where 1 and (0 or (1 and catekeyword1 like '%魔王%') or (1 and title like '%魔王%'))

1040 : Too many connections

error file : /tour/core.php