title: MySQL has two different passwords?
body: <p>I am sure they are passwords to different things but i am not sure what. When in terminal to connect to MySQL I enter <code>/usr/LOCAL/mysql/BIN/mysql -h host -u username -p</code> I am then prompted for a password and the password is <code>''</code>. But when connecting to MySQL with PHP I use the following code and it works</p>
  
  <pre><code>DEFINE('DB_HOST', 'localhost'); 
  DEFINE('DB_USER', 'root'); 
  DEFINE('DB_PASS', 'root'); 
  
  $dbc = mysqli_connect(DB_HOST, DB_USER, DB_PASS,) or 
  die('could not connect: '. mysqli_connect_error() );
  </code></pre>
  
  <p>If i were to use <code>DEFINE('DB_PASS', '');</code> it returns "Access denied for user 'root'@'localhost' (using password: NO)", why does there appear to be two separate passwords?</p>