WordPress数据库错误无法创建/写入文件' /tmp/#sql_6286_22.MYI' (错误代码:28)

时间:2014-06-09 05:34:52

标签: mysql wordpress

当我尝试登录时显示500内部服务器错误..

并显示错误日志.. WordPress database error Can't create/write to file '/tmp/#sql_6286_22.MYI' (Errcode: 28) for query SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (1945) ORDER BY t.name ASC made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, update_post_caches, update_object_term_cache, wp_get_object_terms

2 个答案:

答案 0 :(得分:0)

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

硬盘的最后5%通常只用于root。检查inode是否可用,不仅是字节......

答案 1 :(得分:0)

这意味着/ tmp需要足够的权限。 chmod 1777 / tmp in server