[Shell] shell脚本操作mysql数据库在shell中操作mysql的方法
本文转载自: https://www.cnblogs.com/clover-siyecao/p/5591992.htmlshell脚本操作mysql数据库使用 mysql -e 参数可以执行各种 sql 的各种操作语句。不用在mysql的提示符下运行mysql,即可以在shell中操作mysql的方法。格式:mysql -hhostname -Pport -uusername -...