摘要: 实际应用中,不仅可以先登陆mysql再使用,还可以在链接的时候进行sql操作,此时需要加参数-e 例: >mysql -hlocalhost -P8080 -uroot -p123456 -e'set names utf8;use report;select * from table;'; 就是这样 阅读全文
posted @ 2020-07-21 16:28 听雨看花 阅读(4400) 评论(0) 推荐(0)