Skip to content

Instantly share code, notes, and snippets.

@GhazanfarMir
Created March 29, 2016 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GhazanfarMir/4c9f1fed679ff4a03196 to your computer and use it in GitHub Desktop.
Save GhazanfarMir/4c9f1fed679ff4a03196 to your computer and use it in GitHub Desktop.
MySQLDump without using Username and Password
[mysqldump]
user=username
password=password
## add this file in the user's directory who is going to call mysqldump.
## MySQLDump command will be executed without asking for username and password if this file
## is present with correct credentials.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment