Skip to content

Instantly share code, notes, and snippets.

@davidneedham
Created November 20, 2013 21:57
Show Gist options
  • Save davidneedham/7571805 to your computer and use it in GitHub Desktop.
Save davidneedham/7571805 to your computer and use it in GitHub Desktop.
~/.my.cnf This file is intended to be on your local computer and improve the efficiency with which you interact with mysql from the command line. This is safe being root/root locally using something like MAMP, but there could be security concerns on a server.
[mysql]
user=root
password=root
[mysqldump]
user=root
password=root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment