摘要: 在写脚本时经常需要在命令行使用明文密码,虽然不安全,但是很方便,出现[Warning] Using a password 就很讨厌,下面给出个解决方式 方法: 使用 2>/dev/null #mysql --user=root --password=123456 -e "select version 阅读全文
posted @ 2021-07-01 11:36 龙虚度 阅读(1311) 评论(0) 推荐(0) 编辑