简体   繁体   English

MAMP Pro MySQL 无法启动

[英]MAMP Pro MySQL Won't Start

I have tried everything from every forum, still no love.我已经尝试了每个论坛的一切,仍然没有爱。 Deleted temp files, even a totally clean re-install.删除临时文件,甚至是完全干净的重新安装。

Even created a new user on my Mac.... same issue.甚至在我的 Mac 上创建了一个新用户....同样的问题。

Here's the MySQL log file:这是 MySQL 日志文件:

2018-12-15T09:47:47.6NZ mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error.log'. 2018-12-15T09:47:47.6NZ mysqld_safe 记录到“/Applications/MAMP/logs/mysql_error.log”。 2018-12-15T09:47:47.6NZ mysqld_safe Starting mysqld daemon with databases from /Library/Application Support/appsolute/MAMP PRO/db/mysql57 2018-12-15T09:47:48.230415Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. 2018-12-15T09:47:47.6NZ mysqld_safe 使用来自 /Library/Application Support/appsolute/MAMP PRO/db/mysql57 的数据库启动 mysqld 守护进程 2018-12-15T09:47:48.230415Z 0 [警告] 不安全配置 -- secure-file-priv:当前值不限制生成文件的位置。 Consider setting it to a valid, non-empty path.考虑将其设置为有效的非空路径。 2018-12-15T09:47:48.232313Z 0 [Note] /Applications/MAMP/Library/bin/mysqld (mysqld 5.7.23) starting as process 3631... 2018-12-15T09:47:48.249599Z 0 [Warning] Setting lower_case_table_names=2 because file system for /Library/Application Support/appsolute/MAMP PRO/db/mysql57/ is case insensitive 2018-12-15T09:47:48.266106Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-12-15T09:47:48.266181Z 0 [Note] InnoDB: Uses event mutexes 2018-12-15T09:47:48.266203Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-12-15T09:47:48.266221Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2018-12-15T09:47:48.266277Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB 2018-12-15T09:47:48.269905Z 0 [Note] InnoDB: Number of pools: 1 2018-12-15T09:47:48.273776Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-12-15T09:47:48.279178Z 0 [Note] InnoDB: Initializing buffer pool, total s 2018-12-15T09:47:48.232313Z 0 [注意] /Applications/MAMP/Library/bin/mysqld (mysqld 5.7.23) 作为进程 3631 启动... 2018-12-15T09:47:48.249599Z 0 [警告] 设置 lower_case_table_names=2 因为 /Library/Application Support/appsolute/MAMP PRO/db/mysql57/ 的文件系统不区分大小写 2018-12-15T09:47:48.266106Z 0 [注意] InnoDB:Mutexes 和 rw_locks 使用 GCC 原子内置函数2018-12-15T09:47:48.266181Z 0 [注意] InnoDB:使用事件互斥锁 2018-12-15T09:47:48.266203Z 0 [注意] InnoDB:GCC 内置 __atomic_thread_fence() 用于内存屏障 2018-12-15T09 :47:48.266221Z 0 [注] InnoDB:压缩表使用 zlib 1.2.3 2018-12-15T09:47:48.266277Z 0 [注] InnoDB:将 innodb_buffer_pool_instances 从 8 调整为 1,因为 innodb_buffer_pool_size 小于 1024 MiB 2018-12 -15T09:47:48.269905Z 0 [注] InnoDB: Number of pools: 1 2018-12-15T09:47:48.273776Z 0 [注] InnoDB: 使用CPU crc32指令 2018-12-15T09:47:48.279178Z 0 [注】InnoDB: Initializing buffer pool, total s ize = 128M, instances = 1, chunk size = 128M 2018-12-15T09:47:48.301106Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-12-15T09:47:48.335445Z 0 [Note] InnoDB: Highest supported file format is Barracuda. ize = 128M, instances = 1, chunk size = 128M 2018-12-15T09:47:48.301106Z 0 [Note] InnoDB: 缓冲池初始化完成 2018-12-15T09:47:48.335445Z 0 [Note] InnoDB: Highest支持的文件格式是 Barracuda。 2018-12-15T09:47:48.339844Z 0 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 72309002 and the end 72308736. 2018-12-15T09:47:48.339913Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2018-12-15T09:47:48.642547Z 0 [ERROR] Plugin 'InnoDB' init function returned error. 2018-12-15T09:47:48.339844Z 0 [错误] InnoDB: 由于在检查点 72309002 和结尾 72308736 之间缺少 MLOG_CHECKPOINT 而忽略重做日志。2018-12-15T09:47:48.339913Z 0 [错误] InnoDB: 插件初始化因错误而中止 通用错误 2018-12-15T09:47:48.642547Z 0 [错误] 插件“InnoDB”初始化函数返回错误。 2018-12-15T09:47:48.642595Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2018-12-15T09:47:48.642595Z 0 [错误] 插件“InnoDB”注册为存储引擎失败。 2018-12-15T09:47:48.642616Z 0 [ERROR] Failed to initialize builtin plugins. 2018-12-15T09:47:48.642616Z 0 [错误] 无法初始化内置插件。 2018-12-15T09:47:48.642631Z 0 [ERROR] Aborting 2018-12-15T09:47:48.642631Z 0 [错误] 中止

2018-12-15T09:47:48.643113Z 0 [Note] Binlog end 2018-12-15T09:47:48.644288Z 0 [Note] Shutting down plugin 'CSV' 2018-12-15T09:47:48.645917Z 0 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete 2018-12-15T09:47:48.643113Z 0 [注意] Binlog 结束 2018-12-15T09:47:48.644288Z 0 [注意] 关闭插件 'CSV' 2018-12-15T09:47:48.645917Z 0 [注意] /Applications/MAMP/Library/bin/mysqld: 关闭完成

2018-12-15T09:47:48.6NZ mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended 2018-12-15T09:58:04.6NZ mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error.log'. 2018-12-15T09:47:48.6NZ mysqld_safe mysqld 来自 pid 文件 /Applications/MAMP/tmp/mysql/mysql.pid 结束 2018-12-15T09:58:04.6NZ mysqld_safe 记录到 '/Applications/MAMP/logs/mysql_error 。日志'。 2018-12-15T09:58:04.6NZ mysqld_safe Starting mysqld daemon with databases from /Library/Application Support/appsolute/MAMP PRO/db/mysql57 2018-12-15T09:58:05.259005Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. 2018-12-15T09:58:04.6NZ mysqld_safe 使用 /Library/Application Support/appsolute/MAMP PRO/db/mysql57 中的数据库启动 mysqld 守护进程 2018-12-15T09:58:05.259005Z 0 [警告] 不安全配置 -- secure-file-priv:当前值不限制生成文件的位置。 Consider setting it to a valid, non-empty path.考虑将其设置为有效的非空路径。 2018-12-15T09:58:05.261261Z 0 [Note] /Applications/MAMP/Library/bin/mysqld (mysqld 5.7.23) starting as process 4301... 2018-12-15T09:58:05.280531Z 0 [Warning] Setting lower_case_table_names=2 because file system for /Library/Application Support/appsolute/MAMP PRO/db/mysql57/ is case insensitive 2018-12-15T09:58:05.298055Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-12-15T09:58:05.298134Z 0 [Note] InnoDB: Uses event mutexes 2018-12-15T09:58:05.298163Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-12-15T09:58:05.298189Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2018-12-15T09:58:05.298249Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB 2018-12-15T09:58:05.301851Z 0 [Note] InnoDB: Number of pools: 1 2018-12-15T09:58:05.306424Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-12-15T09:58:05.310212Z 0 [Note] InnoDB: Initializing buffer pool, total s 2018-12-15T09:58:05.261261Z 0 [注意] /Applications/MAMP/Library/bin/mysqld (mysqld 5.7.23) 作为进程 4301 启动... 2018-12-15T09:58:05.280531Z 0 [警告] 设置 lower_case_table_names=2 因为 /Library/Application Support/appsolute/MAMP PRO/db/mysql57/ 的文件系统不区分大小写 2018-12-15T09:58:05.298055Z 0 [注意] InnoDB:Mutexes 和 rw_locks 使用 GCC 原子内置函数2018-12-15T09:58:05.298134Z 0 [注意] InnoDB:使用事件互斥锁 2018-12-15T09:58:05.298163Z 0 [注意] InnoDB:GCC 内置 __atomic_thread_fence() 用于内存屏障 2018-12-15T09 :58:05.298189Z 0 [注意] InnoDB: 压缩表使用 zlib 1.2.3 2018-12-15T09:58:05.298249Z 0 [注意] InnoDB: 由于 innodb_buffer_pool_size 小于 1024 MiB,因此将 innodb_buffer_pool_instances 从 8 调整为 1 2018-12 -15T09:58:05.301851Z 0 [注] InnoDB: Number of pools: 1 2018-12-15T09:58:05.306424Z 0 [注] InnoDB: 使用CPU crc32指令 2018-12-15T09:58:05.310212Z 0 [注】InnoDB: Initializing buffer pool, total s ize = 128M, instances = 1, chunk size = 128M 2018-12-15T09:58:05.334016Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-12-15T09:58:05.390575Z 0 [Note] InnoDB: Highest supported file format is Barracuda. ize = 128M, instances = 1, chunk size = 128M 2018-12-15T09:58:05.334016Z 0 [Note] InnoDB: 缓冲池初始化完成 2018-12-15T09:58:05.390575Z 0 [Note] InnoDB: Highest支持的文件格式是 Barracuda。 2018-12-15T09:58:05.395800Z 0 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 72309002 and the end 72308736. 2018-12-15T09:58:05.395949Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2018-12-15T09:58:05.706951Z 0 [ERROR] Plugin 'InnoDB' init function returned error. 2018-12-15T09:58:05.395800Z 0 [错误] InnoDB: 由于在检查点 72309002 和结尾 72308736 之间缺少 MLOG_CHECKPOINT 而忽略重做日志。2018-12-15T09:58:05.395949Z 0 [错误] InnoDB: 插件初始化因错误而中止 通用错误 2018-12-15T09:58:05.706951Z 0 [错误] 插件“InnoDB”初始化函数返回错误。 2018-12-15T09:58:05.707019Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2018-12-15T09:58:05.707019Z 0 [错误] 插件“InnoDB”注册为存储引擎失败。 2018-12-15T09:58:05.707057Z 0 [ERROR] Failed to initialize builtin plugins. 2018-12-15T09:58:05.707057Z 0 [错误] 无法初始化内置插件。 2018-12-15T09:58:05.707106Z 0 [ERROR] Aborting 2018-12-15T09:58:05.707106Z 0 [错误] 中止

2018-12-15T09:58:05.707807Z 0 [Note] Binlog end 2018-12-15T09:58:05.709523Z 0 [Note] Shutting down plugin 'CSV' 2018-12-15T09:58:05.711283Z 0 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete 2018-12-15T09:58:05.707807Z 0 [注意] Binlog 结束 2018-12-15T09:58:05.709523Z 0 [注意] 关闭插件 'CSV' 2018-12-15T09:58:05.711283Z 0 [注意] /Applications/MAMP/Library/bin/mysqld: 关闭完成

2018-12-15T09:58:05.6NZ mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended 2018-12-15T09:58:05.6NZ mysqld_safe mysqld 来自 pid 文件 /Applications/MAMP/tmp/mysql/mysql.pid 结束

sudo killall -9 mysqld

Run the code in terminal and restart MAMP server.在终端中运行代码并重启 MAMP 服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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