mysqldump -h192.168.34.110 -P3308 -urichmail -p65805382 rmsp rm_user_config > /home/test.sql ip和端口最好加上。