mysql -h ip -u -p -e ‘truncate armnative.games’ 清空表
mysqldump -h ip -u -p -t armnative table1 table2 > file
-t是只有数据
-d是只有结构
mysql -h ip -u -p armnative <file
mysql经验
最新推荐文章于 2022-06-06 16:30:02 发布
mysql -h ip -u -p -e ‘truncate armnative.games’ 清空表
mysqldump -h ip -u -p -t armnative table1 table2 > file
-t是只有数据
-d是只有结构
mysql -h ip -u -p armnative <file