title: cannot connect to mysql server through socket 'var run mysqld mysqld.sock on Ubuntu (Emma)
body: <p>I'M getting this Error</p>
  
  <pre><code>cannot connect to mysql server through socket 'var/run/mysqld/mysqld.sock'(2)
  </code></pre>
  
  <p>when I Click the mysql(Emma) localhost and I getting this error, and I <a href="https://stackoverflow.com/questions/32115292/cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysqld-sock">googling</a> it but no use,And also given below command I tried but getting Error only.</p>
  
  <pre><code> $ps ax | grep mysql
     4348 pts/5    S+     0:00 grep --color=auto mysql
   $sudo service mysql start
     Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
   $sudo /etc/init.d/mysql start
     [....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. failed!
  </code></pre>
  
  <p>What Should I do, can any one give me a suggestion</p>