WordPress数据库错误: [Got error 28 from storage engine]
SHOW FULL COLUMNS FROM `wp_options`

WordPress数据库错误: [Got error 28 from storage engine]
SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.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 (173) ORDER BY t.name ASC

-bash: /bin/rm: Argument list too long – Crazy knowledge base
Crazy knowledge base

-bash: /bin/rm: Argument list too long

今天要删除shopex的cache目录下的文件,结果提示
-bash: /bin/rm: Argument list too
long
百度查到可以用xargs命令
删除数量比较多的文件
ls | xargs -n 10 rm -rf
ls当然是输出所有的文件名(用空格分割)
xargs就是将ls的输出,每10个为一组(以空格为分隔符),作为rm
-rf的参数
也就是说将所有文件名10个为一组,由rm -rf删除,这样就不会超过命令行的长度了

-bash: /bin/rm: Argument list too long

WordPress数据库错误: [Got error 28 from storage engine]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (172) ORDER BY t.name ASC

WordPress数据库错误: [Got error 28 from storage engine]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (174) ORDER BY t.name ASC

滚动到顶部