怎么用shell讀取mysql的返回值?
host=`mysql -u$user -p$pass -D $db -e "select host from user;"`orhost=$(mysql -u$user -p$pass -D $db -e "select host from user;")
host=`mysql -u$user -p$pass -D $db -e "select host from user;"`orhost=$(mysql -u$user -p$pass -D $db -e "select host from user;")