Using a password on the command line interface can be insecure対策
カテゴリー: MySQL
2015年01月30日
MySQL5.6からMySQLをコマンドラインで操作する際にパスワードの記述があると
「Warning: Using a password on the command line interface can be insecure.」
とWarningエラーが発生するようになったので
[client]
user = *UserName*
password = *PasswordPhrase*
host = *HostName*
という内容の設定ファイルを任意のファイル名で用意し
mysql --defaults-extra-file=*file_path* *TableName* [Other]
と読み込むようにすると良い
「Warning: Using a password on the command line interface can be insecure.」
とWarningエラーが発生するようになったので
[client]
user = *UserName*
password = *PasswordPhrase*
host = *HostName*
という内容の設定ファイルを任意のファイル名で用意し
mysql --defaults-extra-file=*file_path* *TableName* [Other]
と読み込むようにすると良い