Skip to content

Instantly share code, notes, and snippets.

@pjdietz
Created May 2, 2014 19:50
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 pjdietz/3736e77830b4a9a0c756 to your computer and use it in GitHub Desktop.
Save pjdietz/3736e77830b4a9a0c756 to your computer and use it in GitHub Desktop.
MySQL configuration file
[client]
user={user}
password={password}
host={host}
database={database}
{
"cmd" : ["mysql --defaults-file={path to mysite.my.conf} -t < $file >> /tmp/output.sql ; subl /tmp/output.sql"],
"shell" : true,
"path" : "/usr/local/bin:~/bin:$PATH"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment