python實現處理mysql結果輸出示例

在運維過程當中,常常須要讀取mysql的結果輸出並進行響應的處理,這節介紹如何用Python讀取mysql結果表並進行相應的整理。 進行mysql結果文件輸出:python mysql -h10.20.10.207 -uroot -ppasswd test -e "select sendorderid, (price*100),mob from interfacelog where merid=
相關文章
相關標籤/搜索