Skip to content

Instantly share code, notes, and snippets.

@pujianto
Created November 27, 2019 14:45
Show Gist options
  • Save pujianto/36efd9406629fd7b5bbcf7088966d849 to your computer and use it in GitHub Desktop.
Save pujianto/36efd9406629fd7b5bbcf7088966d849 to your computer and use it in GitHub Desktop.
set default mysql client params, so you don't need to pass host,username params when using mysql client. Place it in /home/username/.my.cnf
[client]
user=root
password=root
host=localhost
port=3306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment