title: I can't access XAMPP phpMyAdmin; it says: Error MySQL said: Documentation Cannot connect: invalid settings
body: <p>Full error message:  </p>
  
  <pre><code>Error
  MySQL said: Documentation
  Cannot connect: invalid settings. 
  Connection for controluser as defined in your configuration failed.
  phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
  </code></pre>
  
  <p>I have been using a web hosting site sever so far; this may have messed up my xampp connection.  My phpMyAdmin "config.in.php" file is set up as follows:</p>
  
  <pre><code>/* Authentication type and info */
  $cfg['Servers'][$i]['auth_type'] = 'config';
  $cfg['Servers'][$i]['user'] = 'root';
  $cfg['Servers'][$i]['password'] = '';
  $cfg['Servers'][$i]['extension'] = 'mysqli';
  $cfg['Servers'][$i]['AllowNoPassword'] = true;
  $cfg['Lang'] = '';
  
  /* Bind to the localhost ipv4 address and tcp */
  $cfg['Servers'][$i]['host'] = '127.0.0.1';
  $cfg['Servers'][$i]['connect_type'] = 'tcp';
  </code></pre>
  
  <p>I am able to run the php codes that I have created using xampp at "localhost:8080", but I can't access mysql.  My database connection configuration is as follows:</p>
  
  <pre><code>// Databse Connection Constants
  define('DB_HOST','localhost');
  define('DB_USER','root');
  define('DB_PASS',','');
  define('DB_NAME','gallery_db');
  </code></pre>
  
  <p>Can anyone help?  Thanks.</p>