简体   繁体   中英

MySQL does not start with MAMP Pro (5.0.1)

This is my error log, I cant figure out why mysql wont start with MAMP pro. It starts with 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

I have no mysql instances running. Any help here will be appreciated. Thanks

Turns out the problem was with my filesystem. That's why MAMP PRO did not work. A friend helped me set up my laptop at the beginning and we chose the Apple File System (APFS) which is case-insensitive. Then I created a partition of the disk and formatted it to have Mac OS Extended (Case-sensitive, Journaled). That's when everything worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM