mysql库备份&库恢复
1.1全库备份
mysqldump -uroot -p123456 database_demo > /home/utfladmin/database_demo_20191101.dump
1.2清除库中某张表的信息-查询结果为空;
1.3全库恢复
mysql -uroot -p123456 database_demo < /home/utfladmin/database_demo_20191101.dump
1.4验证:查询1.2步骤清除数据的表-有结果;
1.1全库备份
mysqldump -uroot -p123456 database_demo > /home/utfladmin/database_demo_20191101.dump
1.2清除库中某张表的信息-查询结果为空;
1.3全库恢复
mysql -uroot -p123456 database_demo < /home/utfladmin/database_demo_20191101.dump
1.4验证:查询1.2步骤清除数据的表-有结果;