Place in ~/.my.cnf:
[client]
user = gert
password = mypassword
Then you can use mysql and mysqldump operations without entering a password or specifying a username.
Place in ~/.my.cnf:
[client]
user = gert
password = mypassword
Then you can use mysql and mysqldump operations without entering a password or specifying a username.