title: PHPMyAdmin access denied using wamp
body: <p>When I try to connect on my DB using PHPMyAdmin, I now get this error:</p>
  
  <pre><code>#1045 - Access denied for user 'root'@'localhost' (using password: NO) 
  </code></pre>
  
  <p>Whereas it worked well for many months...<br/>
  The fact is that there IS a password to connect, but PHPMyAdmin doesn't use it.<br/>
  I tried to edit <code>config.inc.php</code> :</p>
  
  <pre><code>/* Servers configuration */
  $i = 0;
  
  /* Server: localhost [1] */
  $i++;
  $cfg['Servers'][$i]['verbose'] = 'localhost';
  $cfg['Servers'][$i]['host'] = 'localhost';
  $cfg['Servers'][$i]['port'] = '';
  $cfg['Servers'][$i]['socket'] = '';
  $cfg['Servers'][$i]['connect_type'] = 'tcp';
  $cfg['Servers'][$i]['extension'] = 'mysqli';
  $cfg['Servers'][$i]['auth_type'] = 'config';
  $cfg['Servers'][$i]['user'] = 'root';
  $cfg['Servers'][$i]['password'] = 'xxxx';
  $cfg['Servers'][$i]['AllowNoPassword'] = true;
  
  /* End of servers configuration */
  
  $cfg['DefaultLang'] = 'en-utf-8';
  $cfg['ServerDefault'] = 1;
  $cfg['UploadDir'] = '';
  $cfg['SaveDir'] = '';
  
  
  /* rajk - for blobstreaming */
  $cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
  $cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
  $cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
  $cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
  </code></pre>
  
  <p>my phpmyadmin.conf seems to be ok :</p>
  
  <pre><code>Alias /phpmyadmin "c:/wampserver2/apps/phpmyadmin3.5.1/" 
  
  &lt;Directory "c:/wampserver2/apps/phpmyadmin3.5.1/"&gt;
      Options Indexes FollowSymLinks MultiViews
      AllowOverride all
          Order Deny,Allow
      Deny from all
      Allow from 127.0.0.1
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I don't understand why always says <code>using password: NO</code> whereas there is one defined !<br/>
  I tried to clear browser cache / cookies but still the same.<br/>
  Also reloaded Wamp many times...<br/><br/>
  The DB password is not very important since it is only used on a local machine, but I also failed to remove the root password in mySql.<br/>
  If I set password to '', there is a message saying that the quotes are not removed from password, so password is not blank, i have to connect with <code>mysql -uroot -p''</code> (which is so stupid !!)<br/><br/></p>
  
  <p>Thank you for any clue ! :)</p>
  
  <pre><code>Version: '5.5.24-log'  socket: ''  port: 3306  MySQL Community Server (GPL)
  150423 15:48:27 [Note] wampmysqld: Normal shutdown
  
  150423 15:48:27 [Note] Event Scheduler: Purging the queue. 0 events
  150423 15:48:27  InnoDB: Starting shutdown...
  150423 15:48:28  InnoDB: Shutdown completed; log sequence number 2080864866
  150423 15:48:28 [Note] wampmysqld: Shutdown complete
  
  150423 15:48:28 [Note] Plugin 'FEDERATED' is disabled.
  150423 15:48:28 InnoDB: The InnoDB memory heap is disabled
  150423 15:48:28 InnoDB: Mutexes and rw_locks use Windows interlocked functions
  150423 15:48:28 InnoDB: Compressed tables use zlib 1.2.3
  150423 15:48:28 InnoDB: Initializing buffer pool, size = 128.0M
  150423 15:48:28 InnoDB: Completed initialization of buffer pool
  150423 15:48:28 InnoDB: highest supported file format is Barracuda.
  150423 15:48:29  InnoDB: Waiting for the background threads to start
  150423 15:48:30 InnoDB: 1.1.8 started; log sequence number 2080864866
  150423 15:48:30 [Note] Server hostname (bind-address): '(null)'; port: 3306
  150423 15:48:30 [Note]   - '(null)' resolves to '::';
  150423 15:48:30 [Note]   - '(null)' resolves to '0.0.0.0';
  150423 15:48:30 [Note] Server socket created on IP: '0.0.0.0'.
  150423 15:48:30 [Warning] Found invalid password for user: 'toto@toto'; Ignoring user
  150423 15:48:30 [Note] Event Scheduler: Loaded 0 events
  150423 15:48:30 [Note] wampmysqld: ready for connections.
  Version: '5.5.24-log'  socket: ''  port: 3306  MySQL Community Server (GPL)
  </code></pre>
  
  <p>the <code>toto@toto</code> part looks awfull, but can't see where it comes from... ??</p>