>Better practice is to have a ~/.my.cnf file or elsewhere[...]

I am surprised that nobody mentioned the command "mysql_config_editor"
and mysql's --login-path option, which permit passwordless database
logins more securely than storing plaintext passwords in .my.cnf.

  https://dev.mysql.com/doc/refman/8.0/en/mysql-config-editor.html

Why do people still use .my.cnf?

--
Dan Barrett
dbarr...@blazemonger.com
_______________________________________________
Discuss mailing list
Discuss@lists.blu.org
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to