title: MySQL Server does not start on Raspberry Pi
body: <p>I am working with a Raspberry Pi running Debian Linux. I am trying to install  MySQL Server and run it and here is what I have done:</p>
  
  <pre><code># sudo apt-get install mysql-server mysql-client php5-mysql
  </code></pre>
  
  <p>No errors. Now I rebooted the system, then when starting up I get:</p>
  
  <pre><code>[FAIL] startpar: service(s) returned failure: mysql ... failed!
  </code></pre>
  
  <p>And I tried</p>
  
  <pre><code># sudo service mysql start
  mysql: unrecognized service
  </code></pre>
  
  <p>Lastly I tried</p>
  
  <pre><code># /etc/init.d; mysql
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
  </code></pre>
  
  <p>I find that I have no folder named mysqld <code>in /var/run</code>. But I read that the sock file here shall be created the first time the server is created?</p>
  
  <p>Do you have any suggestions?</p>