title: xampp - mysql #1045 - Access denied for user 'root'@'localhost' (using password: YES)
body: <p>So i have gotten this error a couple times. Tried different things to solve it, but the solution continues to illude me. So far the only way i have managed to regain access to my local sql server is to remove the xampp installation, and reinstall it.</p>
  
  <p>After reinstall i am able to access the mysql database no problems.</p>
  
  <p>It would seem how ever, either after restarting the computer, or the new day, 
  This error comes up again.</p>
  
  <p>At first, i was just using the root account with no password, config settings to match this,
  and i would get the same error except it would say 'using password: NO'</p>
  
  <p>i then uninstalled and reinstalled xampp and set a passsword to the root account. this worked fine the entire working day. I come back on monday, and try to access my local database,
  i get, #1045 - Access denied for user 'root'@'localhost' (using password: YES) </p>
  
  <p>Seeing as i cannot afford to continue to reinstalled every day, it would be greate if i could find a solution to this.</p>
  
  <p>edit:
  I forgot to mention i get the same error trying to access the mysql database through command prompt.</p>