MySQL: Can't create/write to file '/tmp/#sql_3c6_0.MYI' (Errcode: 2) - What does it even mean?

后端 未结 14 993
忘掉有多难
忘掉有多难 2020-12-02 14:00

For some reason my production DB decided to spew out this message. All application calls fail to the DB with the error:

PreparedStatementCallback; SQL [ /*lo         


        
14条回答
  •  长情又很酷
    2020-12-02 14:48

    it's very easy, you just grant the /tmp folder as 777 permission. just type:

    chmod -R 777 /tmp
    

提交回复
热议问题