title: phpmyadmin in WAMP error #1045 - Need to reset password
body: <p>I have recently reinstalled WAMP on my PC and copied over files from a back-up I had. I am able to access <code>localhost</code> without any problem and my existing sites function fine. </p>
  
  <p>The problem is that I cannot seem to log-in via <code>http://localhost/phpmyadmin/index.php</code>. I receive a <strong>#1045 Cannot log in to the MySQL server</strong> response.</p>
  
  <p>After doing <a href="https://stackoverflow.com/questions/498343/putting-a-password-to-a-user-in-phpmyadmin-in-wamp">some reading</a> I have been lead to believe that I can edit phpmyadmin's <code>config.inc.php</code> file to adjust the settings. After setting my files (as outlined below), I just get a <strong>Cannot connect: invalid settings.</strong> error.</p>
  
  <pre><code>   &lt;?php
  /*
   * This is needed for cookie based authentication to encrypt password in
   * cookie
   */
  $cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
  
  /*
   * Servers configuration
   */
  $i = 0;
  
  /*
   * First server
   */
  $i++;
  
  /* Authentication type and info */
  $cfg['Servers'][$i]['auth_type'] = 'config';
  $cfg['Servers'][$i]['user'] = 'root';
  $cfg['Servers'][$i]['password'] = '';
  $cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;
  
  /* User for advanced features */
  $cfg['Servers'][$i]['controluser'] = 'pma';
  $cfg['Servers'][$i]['controlpass'] = '';
  
  /* Advanced phpMyAdmin features */
  $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
  $cfg['Servers'][$i]['relation'] = 'pma_relation';
  $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
  $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
  $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
  $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
  $cfg['Servers'][$i]['history'] = 'pma_history';
  $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
  
  /*
   * End of servers configuration
   */
  
  ?&gt;
  </code></pre>
  
  <p><strong>Can someone point out what I can do to resolve the problem?</strong></p>
  
  <p>I am running WAMP 2 using PHP 5.4.12 and mySQL 5.6.12. I've also attempted to log into the mySQL Console in WAMP but I cannot get past the password request...</p>