shell腳本查詢MYSQL數據庫並進行相應處理

實際應用中用到利用shell腳本執行一系列與mysql表中數據相關的操做,所以須要將mysql表中數據做爲shell腳本參數。shell腳本以下:mysql hostname=ipaddress port="3306" username="abcd" password="123456"sql select_sql="select distinct a,':',b,':',c,';' from a.
相關文章
相關標籤/搜索