在shell中操作mysql的方法:
使用mysql -hhostname -Pport -uusername -ppassword -e 相关mysql的sql语句。
图中所用软件是Windows上的程序员神器——Cmder;可参考:https://blog.csdn.net/weixin_40928253/article/details/103992995
第一次发文章,是用来对自己学习过程的一个总结。引用自:https://www.cnblogs.com/ellisonzhang/p/12175506.html