title: XAMPP and MySQL installation on OSX
body: <p>I installed XAMPP. Then I installed MySQL. It appears that MySQL may have already been bundled with XAMPP?</p>
  
  <p>So I apparently installed a second MySQL. I also installed the "MySQL startup" thing that makes MySQL start everytime I start my computer.</p>
  
  <p>Now I have MySQL installed in two places. I can start and run MySQL on the one I knowingly installed but the MySQL located in "xamppfiles" gives me this error:</p>
  
  <pre><code>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (2)
  </code></pre>
  
  <p>I'm not sure what to do. I appear to have a mysqld daemon running and I can't kill, it seems it restarts itself. I'm not sure of the proper way to get rid of one of the installations.</p>