title: how do I reference location of .my.cnf in bash/mysql script?
body: <p>I have a bash script that connects to a mysql server and pulls information. I have my .my.cnf file in my home directory. I want to change the location of the .cnf file to ~myname/.my.cnf </p>
  
  <p>My question is how do I reference this new location in my script or in my mysql call to the database?</p>
  
  <p>Thanks</p>