table_list=select t.table_name · from information_schema.tables t · where t.table_schema = '<db to zero out>'; · for $i in $table_list · do · truncate table $i;.
確定! 回上一頁