title: Login to MySQL from a shell script without showing password?
body: <p>I want to write a cron job that passes a shell script to log into a MySQL database and perform some queries. To connect to the database as a certain user, I wanted to know what options I have to hide or not use the password?</p>
  
  <p>The kind of answer I'm looking for is the Trust Authentication in PostgreSQL using a Trust User, so that no password is required.</p>
  
  <p>I know you can create a password configuration file in the server but I want something more dynamic since passwords change often.</p>
  
  <p>What are my options?</p>