MySQL Forums
Forum List  »  Newbie

Re: mySQL Error 28
Posted by: Rick James
Date: March 07, 2016 02:43PM

> perror 28
OS error code 28: No space left on device

Probably the query is too complex for the limited space in your tmpdir.

Are there suitable indexes for the JOINs?

    select  distinct category_name, category_desc, c.category_id
        from  trt_category AS c
        JOIN  trt_article AS a   ON a.category_id = c.category_id
        JOIN  bsjoin AS b        ON a.story_id = b.story_id
        WHERE  a.category_id != '1'
          AND  c.category_name != 'Upcoming Meeting'
          AND  b.board_id = ".$_GET['board_id']

Please use this format for doing JOINs.

Options: ReplyQuote


Subject
Written By
Posted
February 24, 2016 01:24PM
February 24, 2016 02:37PM
Re: mySQL Error 28
March 07, 2016 02:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.