SELECT c.ID,c.post_author,c.post_date,c.post_content,c.post_title,c.post_excerpt,c.post_status,c.post_modified,c.guid,menu_order,c.post_type,c.comment_count FROM wp_posts c WHERE post_name='' and post_status='publish'
Access denied for user ''@'localhost' (using password: NO)