[Discuss] mysql question

Daniel Barrett dbarrett at blazemonger.com
Sun Nov 22 12:11:13 EST 2020


>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
dbarrett at blazemonger.com


More information about the Discuss mailing list