2016-08-04 9 views
0

MAMPを正常に使用していたら、複数のローカル開発環境が必要になったときにMAMP Proを購入してダウンロードしました。さて、mysqlはMAMP Proでは起動しませんが、MAMPでは正しく動作します。MAMPからMAMP Proに切り替え、mysqlを起動できません

160804 16:21:27 mysqld_safe Starting mysqld daemon with databases from /Library/Application Support/appsolute/MAMP PRO/db/mysql 
160804 16:21:27 [Warning] Setting lower_case_table_names=2 because file system for /Library/Application Support/appsolute/MAMP PRO/db/mysql/ is case insensitive 
160804 16:21:27 [Note] Plugin 'FEDERATED' is disabled. 
/Applications/MAMP/Library/bin/mysqld: Table 'mysql.plugin' doesn't exist 
160804 16:21:27 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 
160804 16:21:27 InnoDB:  The InnoDB memory heap is disabled 
160804 16:21:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins 
160804 16:21:27 InnoDB: Compressed tables use zlib 1.2.3 
160804 16:21:27 InnoDB: Initializing buffer pool, size = 128.0M 
160804 16:21:27 InnoDB: Completed initialization of buffer pool 
InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1 
160804 16:21:27 InnoDB: Could not open or create data files. 
160804 16:21:27 InnoDB: If you tried to add new data files, and it failed here, 
160804 16:21:27 InnoDB: you should now edit innodb_data_file_path in my.cnf back 
160804 16:21:27 InnoDB: to what it was, and remove the new ibdata files InnoDB created 
160804 16:21:27 InnoDB: in this failed attempt. InnoDB only wrote those files full of 
160804 16:21:27 InnoDB: zeros, but did not yet use them in any way. But be careful: do not 
160804 16:21:27 InnoDB: remove old data files which contain your precious data! 
160804 16:21:27 [ERROR] Plugin 'InnoDB' init function returned error. 
160804 16:21:27 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
160804 16:21:27 [ERROR] Unknown/unsupported storage engine: InnoDB 
160804 16:21:27 [ERROR] Aborting 

160804 16:21:27 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete 

160804 16:21:27 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended 

答えて

0

私はMAMPとMAMP ProのプロMAMPで見つかったアンインストーラを使用してアンインストール:

はここでmysqlのエラーログです。アプリをゴミ箱にドラッグしてすべてのファイルを削除し、ゴミ箱を空にしました。私は新しいMAMP Proを再インストールし、mysqlは期待通りに動いています。

関連する問題