LoginSignup
9
7

More than 5 years have passed since last update.

MacのMAMPのMySQLServerが起動しない時

Last updated at Posted at 2017-06-07

その1

  1. MAMPを終了させる
  2. /Applications/MAMP/confに移動
  3. vim my.cnfして以下をコピペ

    /Applications/MAMP/conf/my.cnf
    [mysqld]
    default-storage-engine = InnoDB
    innodb
    innodb_force_recovery = 1
    
  4. MAMP起動してMySQLServer起動

  5. 起動したら再度落とす

  6. 上記のmy.cnf削除

  7. MysqlServer起動😇

その2

このコマンドを叩く。

ps aux | grep '/Applications/MAMP/bin/mysqld_safe' | grep -v grep | cut -d ' ' -f 5 | xargs kill -9   
9
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
7