title: Another mysqld server running on port 3306 error
body: <p>I have installed Mysql 5.1 on Mac OS X 10.7 Lion. For some reason, though, when I try starting the server with the command "mysqld" I get an error in the log file which says:</p>
  
  <p>120328 21:32:40 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use</p>
  
  <p>120328 21:32:40 [ERROR] Do you already have another mysqld server running on port: 3306 ?</p>
  
  <p>120328 21:32:40 [ERROR] Aborting</p>
  
  <p>If I run "netstat -nat | grep 3306" in my terminal, I get the following:<br/>
  tcp4       0      0  *.3306                 <em>.</em>                    LISTEN</p>
  
  <p>UPDATE:</p>
  
  <p>So here's the output for that. <br/>
  mysqld  24645 sb1752   12u  IPv4 0xffffff8010f6bde0      0t0  TCP *:mysql (LISTEN)</p>
  
  <p>This is odd though! Because my mysql server is not started.<br/>
  When I type "mysql" in command line, it says <br/>
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)</p>
  
  <p>I did install other version of mysql and uninstalled earlier today. Any idea what to do here?</p>