MySQL 不以 MAMP Pro (5.0.1) 启动

MySQL does not start with MAMP Pro (5.0.1)

这是我的错误日志,我不明白为什么 mysql 无法使用 MAMP pro 启动。它以 MAMP 开头。

2018-08-15T20:00:17.6NZ mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended

2018-08-15T20:07:13.6NZ mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error.log'.

2018-08-15T20:07:13.6NZ mysqld_safe Starting mysqld daemon with databases from /Library/Application Support/appsolute/MAMP PRO/db/mysql57

2018-08-15T20:07:13.461794Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.

2018-08-15T20:07:13.462033Z 0 [Note] /Applications/MAMP/Library/bin/mysqld (mysqld 5.7.21) starting as process 80443 ...

2018-08-15T20:07:13.466069Z 0 [Warning] Setting lower_case_table_names=2 because file system for /Library/Application Support/appsolute/MAMP PRO/db/mysql57/ is case insensitive

2018-08-15T20:07:13.468580Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins

2018-08-15T20:07:13.468648Z 0 [Note] InnoDB: Uses event mutexes 2018-08-15T20:07:13.468705Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier

2018-08-15T20:07:13.468724Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3

2018-08-15T20:07:13.468779Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB 2018-08-15T20:07:13.469152Z 0 [Note] InnoDB: Number of pools: 1 2018-08-15T20:07:13.469343Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-08-15T20:07:13.470836Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-08-15T20:07:13.484818Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-08-15T20:07:13.498079Z 0 [ERROR] InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 0 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!

2018-08-15T20:07:13.498170Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error

2018-08-15T20:07:13.807668Z 0 [ERROR] Plugin 'InnoDB' init function returned error.

2018-08-15T20:07:13.807745Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

2018-08-15T20:07:13.807819Z 0 [ERROR] Failed to initialize builtin plugins.

2018-08-15T20:07:13.807888Z 0 [ERROR] Aborting

2018-08-15T20:07:13.807956Z 0 [Note] Binlog end 2018-08-15T20:07:13.808103Z 0 [Note] Shutting down plugin 'CSV' 2018-08-15T20:07:13.808957Z 0 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete

2018-08-15T20:07:13.6NZ mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended

我没有 mysql 个实例 运行。这里的任何帮助将不胜感激。谢谢

原来问题出在我的文件系统上。这就是 MAMP PRO 不起作用的原因。一开始,一位朋友帮我设置了笔记本电脑,我们选择了不区分大小写的 Apple 文件系统 (APFS)。然后我创建了一个磁盘分区并将其格式化为 Mac OS 扩展(区分大小写,日志式)。那是一切正常的时候。