发新话题
打印

请教操作mysql的shell脚本

请教操作mysql的shell脚本

我想问一下大家,mysql -uroot -p -Dcms -e "quit" 2>/dev/null这句话在shell脚本中的作用是什么?:confused:      

TOP

2>/dev/null

把错误输出到/dev/null,也就是不显示错误。      

TOP

发新话题