MySQL 5.6以降でクライアントに "Warning: Using a password on the command line interface can be insecure." と言われるのを防ぐいくつかの方法 MySQL 5.6以降では、同梱のクライアント(mysqlコマンドラインクライアント, mysqladmin, mysqldumpあたりがよくありそう)に-pオプションで直接パスワードを渡すと、 $ mysql56 -utest -ptest -e "SELECT current_user()" Warning: Using a password on the command line interface can be insecure. +----------------+ | current_user() | +----------------+ | test@lo