使用xml来显示获取的mysql数据 mysql test -u test -X -e 'select * from employees where empid = 1' 其中 -X 就是以xml形式显示