I want to login to a MySQL database from a shell.
Normally I use
mysql -p
But I just noticed the following in the the MySQL help:
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty. WARNING: This is
insecure as the password is visible for anyone through
/proc for a short time.
Is this saying that the following is insecure?
mysql -p=mypassword
Or that all uses of -p are insecure?
