I use mysql-client 5.55.9999
and I would like to know how to prevent the mysql-client to save passwords to ~/.mysql_history
? Let's say, I create a new user:
CREATE USER "username"@"host" IDENTIFIED BY "thePassword";
This statement is being put exactly as it is into ~/.mysql_history
. This is what I don't want. I remember in earlier versions of mysql-client, rows including passwords have not been put into the history file, but I don't remember what the exact option in the settings was.