4 ms·
I have passwords in my bash history - namely mysql passwords.
by smm2000 13y ago
I have passwords in my bash history - namely mysql passwords.
- yogo 13y agoUse the --defaults-extra-file to point to a file containing the password and stop the madness. At least that is what I think should be done if entering the password is inconvenient or not feasible (like in an automated script)
- paul_f 13y agoWhy? Use 'mysql -uroot -p' It prompts for the password and does not show up in Bash hsitory