title: Access denied for user 'root'. PHP/MYSQL/XAMPP
body: <p>I have been using XAMPP for a while now, but this morning seems like something kinda went wrong.
  I am using XP with XAMPP 5.3.5.</p>
  
  <p>I develop at home, and I use my other computer as a server. running PHP/APACHE/MYSQL on XAMPP.
  I am using phpMyAdmin to manage my db.
  I noticed that my webpage was not responding too quickly, would lag and return an error about not being able to connect to the DB. (I lost that error message, I tried too many times).</p>
  
  <ol>
  <li>I ended up changing the root security password inside phpMyAdmin</li>
  <li>changed the config.inc.php for that very same password</li>
  </ol>
  
  <p>Still I get this message:</p>
  
  <p>Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\MyProject\includes\connection.php on line 5
  Database connection failed: Access denied for user 'root'@'localhost' (using password: NO).</p>
  
  <p>Why does it say "using password: NO" ? I did create a password for root, and also for the directory, and also updated config.inc.php 
  How do I recover from this, seems like a work day has passed by.
  Thanks !!!</p>