title: How do you start a MySQL server on linux?
body: <p>Pretty simple question here. I just want a SQL database on my version of Kali linux so I can practice SQL.</p>
  
  <p>I opened the command line and entered tried to start mysql and get an error.</p>
  
  <pre><code>&gt; mysql -u root
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
  </code></pre>
  
  <p>I also made sure it was already installed using apt-get.</p>
  
  <p>What are the steps I need to take to be able to make a database with tables and data that I can query?</p>