title: How to Solve the XAMPP 1.7.7 - PHPMyAdmin - MySQL Error #2002 in Ubuntu
body: <p>I have been through lots of forums and checked various posts on similar topic but non seems to work out for me. </p>
  
  <p>I have freshly installed XAMPP 1.7.7 on my Ubuntu 11.10 Operating system. Everything is running except for the phpMyAdmin. </p>
  
  <p>Upon hitting: <a href="http://localhost/phpmyadmin" rel="noreferrer">http://localhost/phpmyadmin</a>, I am getting the following error: </p>
  
  <blockquote>
    <p>MySQL said: </p>
  
  <pre><code>#2002 - The server is not responding 
  (or the local MySQL server's socket is not correctly configured) 
  
  Connection for controluser as defined in your configuration failed.
  </code></pre>
  </blockquote>
  
  <p>When i am starting the services with:    <strong>sudo /opt/lampp/lampp start</strong><br>
  I am getting the following:</p>
  
  <blockquote>
    <p>XAMPP: Another web server daemon is already running.<br>
                                                                                                                                                           XAMPP: Another MySQL daemon is already running.<br>
                                                                                                                                        XAMPP: Another FTP daemon is already running.<br>
    XAMPP for Linux
    started.</p>
  </blockquote>
  
  <p>Any suggestions would be greatly appreciated.</p>