导入SQL备份文件 mysql < 方法 mysql -h xxx -u xxx -p 数据库名称 < /root/xxx.sql source 方法 mysql> source /root/xxx.sql