登入MySQL的时候,你是可以选择交互式或者将密码指定出来从而直接登录两种方式的:
1.交互式:

2.非交互:
MySQL_Password
非交互的方式下,密码会明文的显示在终端上。
这样子带来的安全隐患是显而易见的。
但是为了防止用户忽视,MySQL依旧还是指出来了:
mysql: [Warning] Using a password on the command line interface can be insecure.

——————————————————
Done。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装