title: #1045 Cannot log in to the MySQL server in wamp
body: <p>I am installed <code>wamp</code>  both in server and in my local machine. In local machine this is working fine. But some issues happened in server. While I log in to the <code>phpmyadmin</code>  <strong>#1045 Cannot log in to the MySQL server</strong> error shows. How I can solve this?</p>
  
  <p>My <strong>config.inc.php</strong> file contain the following code</p>
  
  <pre><code>/* Authentication type */
  $cfg['Servers'][$i]['verbose'] = 'mysql wampserver';
  $cfg['Servers'][$i]['auth_type'] = 'cookie';
  //$cfg['Servers'][$i]['auth_type'] = 'config';
  $cfg['Servers'][$i]['user'] = 'root';
  $cfg['Servers'][$i]['password'] = 'admin';
  /* Server parameters */
  $cfg['Servers'][$i]['host'] = 'localhost';
  $cfg['Servers'][$i]['connect_type'] = 'tcp';
  $cfg['Servers'][$i]['compress'] = false;
  /* Select mysql if your server does not have mysqli */
  $cfg['Servers'][$i]['extension'] = 'mysqli';
  $cfg['Servers'][$i]['AllowNoPassword'] = false;
  </code></pre>
  
  <p>Please help me.. Thanks..</p>