title: Issue with MySQL/phpmyadmin configuration
body: <p>When I try to login to mysql through phpmyadmin I get the following errors:</p>
  
  <pre><code>#2002 - No such file or directory&lt;br /&gt;The server is not responding (or the local server's socket is not correctly configured).
  
  
  
  Connection for controluser as defined in your configuration failed.
  </code></pre>
  
  <p>I run the following command and find that mysql is not using any port:</p>
  
  <pre><code>sudo netstat -tlpn | grep mysql
  </code></pre>
  
  <p>When I restart the mysql service and then check the port again it shows </p>
  
  <pre><code>tcp6       0      0 :::3306                 :::*                    LISTEN      3808/mysqld 
  </code></pre>
  
  <p>and there is no more error in phpmyadmin and I can continue working with mysql.</p>
  
  <p>To work, I have to restart the mysql service everytime I start my system. Please help me with the error and tell me how to get rid of it.</p>
  
  <p>This is my mysql version <code>mysql  Ver 14.14 Distrib 5.6.16</code> and this is my php version <code>PHP Version 5.6.36-1</code>.</p>