How to connect to MySQL without a password prompt
It is possible to login into your MySQL instance without a password input. This is useful when we want to connect to MySQL from an script or run MySQL commands from the bash terminal with MySQL -e (execute) option.