你直接到cmd 里面运行 mysqldump -h 192.168.1.132 -u root -pkingque search_data info_cityinfo>f:/bak1.sql" 试试应该跟java没关系,是你的mysql环境问题,或者这条命令有不对的地方,包括IP,用户名,密码等