title: MAMP : Mysql won't turn on
body: <p>My mamp mysql server won't turn on. I tried executing /Applications/MAMP/bin/startMysql.sh but that gave me this error :</p>
  
  <blockquote>
    <p>101110 05:50:31 mysqld_safe Logging to
    '/Applications/MAMP/logs/mysql_error_log.err'.</p>
    
    <p>101110 05:50:32 mysqld_safe Starting mysqld daemon with databases from
    /Applications/MAMP/db/mysql</p>
    
    <p>101110 05:50:32 mysqld_safe mysqld from pid file
    /Applications/MAMP/tmp/mysql/mysql.pid ended</p>
  </blockquote>
  
  <p>/Applications/MAMP/logs/mysql_error_log.err :</p>
  
  <blockquote>
    <p>InnoDB: <a href="http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html" rel="noreferrer">http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html</a></p>
    
    <p>InnoDB: Could not open or create data files.</p>
    
    <p>InnoDB: If you tried to add new data files, and it failed here,</p>
    
    <p>InnoDB: you should now edit innodb_data_file_path in my.cnf back</p>
    
    <p>InnoDB: to what it was, and remove the new ibdata files InnoDB created</p>
    
    <p>InnoDB: in this failed attempt. InnoDB only wrote those files full of</p>
    
    <p>InnoDB: zeros, but did not yet use them in any way. But be careful: do
    not</p>
    
    <p>InnoDB: remove old data files which contain your precious data!</p>
    
    <p>101110  5:53:08 [ERROR] Plugin 'InnoDB' init function returned error.</p>
    
    <p>101110  5:53:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE
    ENGINE  failed.</p>
    
    <p>101110  5:53:08 [ERROR] Can't start server: Bind on TCP/IP port:
    Address  already in use</p>
    
    <p>101110  5:53:08 [ERROR] Do you already have another mysqld server
    running  on port: 3306 ?</p>
    
    <p>101110  5:53:08 [ERROR] Aborting</p>
    
    <p>101110  5:53:08 [Warning] Forcing shutdown of 2 plugins</p>
    
    <p>101110  5:53:08 [Note] /Applications/MAMP/Library/libexec/mysqld:
    Shutdown  complete</p>
    
    <p>101110 05:53:08 mysqld_safe mysqld from pid file
    /Applications/MAMP/tmp/mysql/mysql.pid ended</p>
  </blockquote>