Could not connect to Server.Too many connections
SELECT as bookid, browsenode, source, isinId, isbn, detailPageUrl,c.interview_summary, salesrank, author, summary_author, binding, numberOfItems, numberOfPages, publicationDate,book_slug, a.title, sub_title, publisher, summary_publisher, availability, description, excerpts, TOC_text, TOC_image, smallImage, mediumImage, largeImage, smallImage_rear, mediumImage_rear, largeImage_rear, a.status as bookstatus, readara_picks, popu_books, recent_picks, as audiofile,c.interview_date, facebook_url, twitter_url, youtube_url, web_url, video_url, slug, a.updated_date as update_book, a.createdDate as created_book, as browsecategoryid,browsecategoryName,browsenodeId,parentId,toplevelbrowsenodeid,slug3,author_id, as interview_id,c.author_slug,c.interview_banner as banner, count(distinct as review_tot , count(distinct as comment_tot, count(distinct as bookshelf_tot , sum(distinct h.rating) as overall_rating_tot from tbl_books a INNER JOIN tbl_browsecategories b on a.browsenode=b.browsenodeId LEFT JOIN tbl_interview c on = c.book_id LEFT JOIN tbl_reviews e on e.bookid = LEFT JOIN tbl_comments f on f.bookid = LEFT JOIN tbl_memberactions g on and g.bookself=1 LEFT JOIN tbl_rating h on h.bookid = and h.rate_type='overall' where b.status = '1' and