blog.g3rt.nl
  • Home
  • About
  • Categories
  • Tags
  • Archives

Creating a my.cnf for easy command line operations

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: Twitter ❄ Hacker News ❄ Facebook ❄ LinkedIn ❄ Reddit ❄ Email


Related Posts

  • How to copy MySQL privileges from one server to another

Published

09 Nov 2011, 11:15

Category

System Administration

Tags

  • MySQL 2

Connect with me on...

Powered by: Pelican Theme: Elegant