close
The following command dump a MySQL query output into a text file named all_tmp_tables.lst
./mysql -uroot -p MyTestDB -e "show tables like 'tmp_%'" > all_tmp_tables.lst
./mysql -uroot -p MyTestDB -e "show tables like 'tmp_%'" > all_tmp_tables.lst
全站熱搜