Skip to content

Instantly share code, notes, and snippets.

@chrisjlee
Created April 4, 2012 16:13
Show Gist options
  • Save chrisjlee/2303388 to your computer and use it in GitHub Desktop.
Save chrisjlee/2303388 to your computer and use it in GitHub Desktop.
using .my.cnf to set a password for the user to allow automatic login
[client]
user = DBUSERNAME
password = DBPASSWORD
host = DBSERVER
[mysql]
database = DBNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment