title: how to start mysql2 server?
body: <p>I am trying to get some open source code running on my local machine.  It uses mysql2, and I have not used this database before.  I had some errors I was able to fix by running:</p>
  
  <pre><code>sudo apt-get install libmysql-ruby libmysqlclient-dev
  </code></pre>
  
  <p>I start up the rails server but when I go to <a href="http://localhost:3000/" rel="nofollow">http://localhost:3000/</a>, I get the following error:</p>
  
  <pre><code>Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
  </code></pre>
  
  <p>Do I need to start the MySQL server?  How would I do that?</p>