shell腳本中執行sql的例子

這個例子演示瞭如何在shell腳本中執行多個sql來操做數據庫表。mysql #! /bin/sh USER_HOME=/home/`whoami` . /etc/profile if [ -f ${USER_HOME}/.bash_profile ]; then . ${USER_HOME}/.bash_profile fi mysql -h 20.1.4.89 -P 8911
相關文章
相關標籤/搜索