I want to login to a MySQL database from a shell.
Normally I use
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?
Or that all uses of
-p are insecure?