Fatal error: Table 'db364734347.blog_posts' doesn't exist

Query:
SELECT blog_posts.*, members.username, members.id AS uid, files.uid, files.bigimage, files.type, files.approved, files.aid, files.adult_content FROM blog_posts INNER JOIN members ON ( blog_posts.uid = members.id AND members.id=842) LEFT JOIN files ON ( files.uid = members.id AND files.default=1) WHERE blog_posts.approved='yes' GROUP BY blog_posts.id ORDER by blog_posts.id DESC LIMIT 5 in /homepages/16/d364704694/htdocs/inc/classes/class_mysql.php on line 185