title: 'Login without a password is forbidden by configuration'
body: <p>Sorry if this is long.  I have outlined the specific steps which brought me to the error.</p>
  
  <p><em>Background.</em><br>
   I installed apache, phpMyAdmin and MySQL to learn from tutorials.
  Yesterday, I arrived to the point where we were beginning to use the MySQL database.</p>
  
  <p>I somehow messed up (corrupted) my password settings.
  I am conceptually confused about passwords for phpMyAdmin and passwords for mySql.</p>
  
  <p>Originally I logged in just fine from the browser <code>/localhost/phpMyAdmin/</code><br>
       User: root<br>
      Password: root<br></p>
  
  <p>In config.inc.php this code was clearly associated:</p>
  
  <pre><code>$cfg['Servers'][$i]['user'] = 'root';
  $cfg['Servers'][$i]['password'] = 'root';
  </code></pre>
  
  <p>Then this happened.
  Inside the phpMyAdmin window,there is a tab called <code>USERS</code></p>
  
  <p>I took notice of all of the users and No Passwords were set so
  I decided to set a password for <br>
      user: localhost<br>
      Password: pass1234<br></p>
  
  <p>Back at the browser I refreshed <br></p>
  
  <p>localhost/phpMyAdmin/</p>
  
  <p>Logged in<br>
      User: root<br>
      Password: pass1234<br>
  This Did Allow me to log in to phpMyAdmin and I could see the MySQL windows.</p>
  
  <p>PLEASE take note of the above.<br>
  Now that I think about it.... I am even more confused because after this new password worked, I looked back in config.inc.php</p>
  
  <pre><code>$cfg['Servers'][$i]['password'] = 'root';
  Had not changed to 
  $cfg['Servers'][$i]['password'] = 'pass1234';
  </code></pre>
  
  <p><strong>Question</strong>: are these two passwords associated ?</p>
  
  <p>I then read somewhere that I should Not have set a password because it could cause problems later so I went back to the USERS tab and selected the radio button <code>'no password'</code></p>
  
  <p>BUT then when I refreshed the browser I was unable to log in.
  Not with the original user: root password: root
  not with the modified user: root password: pass1234</p>
  
  <p>Not by just clicking 'go' which was what I expected to work since I selected 'no password'</p>
  
  <p>I am very confused but I do not think that this is a deep level technical problem.</p>
  
  <p>I now believe that settings above in <code>config.inc.php</code> are not the same thing as Changing this password setting from with phpMyAdmin and MySQL.  </p>
  
  <p>I have been troubleshooting with documentation and forums,
  I really need some Conceptual Explanation of </p>
  
  <p>What I did.
  And 
  How I can fix this.</p>
  
  <p>I am completely stuck after many hours.</p>
  
  <p>Thanks,</p>
  
  <p>Here are some things that I tried.
  Each time that I modified code, I restarted apachectl and I cleared my cookies.</p>
  
  <pre><code>$cfg['Servers'][$i]['user'] = 'root';
  $cfg['Servers'][$i]['password'] = '';
  
  $cfg['Servers'][$i]['AllowNoPassword'] = true;
  $cfg['Servers'][$i]['AllowNoPassword'] = false;
  
  $cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;
  $cfg['Servers'][$i]['AllowNoPasswordRoot'] = false;
  </code></pre>
  
  <p>I Really Appreciate your Expertise, Insight and Clarification.
  Thanks.</p>