mysql命令行执行时不输出列名(字段名) -N 即可 如:mysql -N -e "select * from test" 摘自:http://blog.csdn.net/eroswang/article/details/7878436