Posts tagged passwordless
Connecting to MySQL without password prompt
- 13 January 2016
If you are (like me) annoyed by providing password at every mysql login, you can skip it. Also it makes easier programmatic access to any MySQL db, as not passwd prompting is necessary :)
Create ~/.my.cnf
file:
And login without -p
parameter: