mysql非交互mysql
mysql [options] << EOF 代碼段 EOF
ssh非交互sql
yum -y install epel-release yum -y install sshpass sshpass -p 'yourpass' ssh user@host 'command'