title: mysqli_real_connect(): (HY000/2006): MySQL server has gone away
body: <p>I am having an issue with logging into phpMyAdmin.</p>
  
  <p>I have simply install xampp.
  when i launch the Xampp server it show me port error for 3306
  so i have change the port from 3306 to 3307 
  in my.ini file and 
  config -> Service and Port Settings -> Mysql port Tab </p>
  
  <p><a href="https://i.stack.imgur.com/XtZDE.png" rel="nofollow noreferrer">Service Setting of Xampp Control Panel</a></p>
  
  <p>Then i was able to start SQL server</p>
  
  <p>when i try to open PhpMyadmin it show me error like this
  than i change in config.inc.php</p>
  
  <p><a href="https://i.stack.imgur.com/5SX9P.png" rel="nofollow noreferrer">config.inc.php</a></p>
  
  <p>Now when i try to open PhpMyadmin it ask me for username and password </p>
  
  <pre><code>Username - root
  Password - Null
  </code></pre>
  
  <p>it show me error like this
  <a href="https://i.stack.imgur.com/8TbBN.png" rel="nofollow noreferrer">Error while login in PhpMyadmin</a></p>
  
  <p>Please Help me to find an issue </p>
  
  <p>Thanks in advance</p>