run MySQL server when mac osx lion startup

Discussion in 'Mac OS X Server, Xserve, and Networking' started by, Aug 14, 2011.

  1. macrumors newbie

    Aug 14, 2011

    As lion server doesn't include mysql, I installed it manually.
    But server doesn't start when I boot my computer.

    Here is the console messages :
    14/08/11 09:02:08,906 Starting MySQL database server
    14/08/11 09:02:09,923 SystemStarter: MySQL 5.5.15-community (124) did not complete successfully
    14/08/11 09:02:09,924 SystemStarter: /Library/StartupItems/MySQLCOM

    If I start manually with this command :
    sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
    It says "Starting MySQL database server", but sometimes it works, other mysql doesn't start...

  2. camuzman macrumors newbie

    Sep 4, 2011
    After delete etc/my.cnf please copy this file

    sudo cp /usr/local/mysql/support-files/my-small.cnf /etc/my.cnf
  3. thread starter macrumors newbie

    Aug 14, 2011
    Thanks very very much, this worked perfectely :

    sudo cp /usr/local/mysql/support-files/my-small.cnf /etc/my.cnf

Share This Page