Error: Could not connect to database at localhost

Error: Could not select database "revel"

REVEL: Archives

SELECT DISTINCT DATE_FORMAT(published, '%Y') AS year, DATE_FORMAT(published, '%m') AS month, DATE_FORMAT(published, '%M') AS month_formatted FROM post WHERE published<=DATE_SUB(NOW(), INTERVAL -5 HOUR) AND status=3 ORDER BY year DESC, month DESC

Archives

No posts have been published