这是我的错误日志,我无法弄清为什么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实例。在这里的任何帮助将不胜感激。谢谢
答案 0 :(得分:0)
原来问题出在我的文件系统上。这就是为什么MAMP PRO无法正常工作的原因。一开始有一位朋友帮我安装了笔记本电脑,我们选择了不区分大小写的Apple File System(APFS)。然后,我创建了磁盘的一个分区,并将其格式化为Mac OS Extended(区分大小写,日记)。那就是一切正常的时候。