1、mysql脚本文件 t.sql insert into test.t values(@name,@age); exit 2、shell脚本文件 a.sh (为方便演示,与t.sql文件放在同一目录下) #!/bin/sh # fetch user parameters input by user read -p "please input name value : " name read -p "please input name age : " age echo "name:$nam...