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.

Share on: TwitterHacker NewsFacebookLinkedInRedditEmail

Comments

comments powered by Disqus

Related Posts


Published

Category

System Administration

Tags

Connect with me on...