gpt4 book ai didi

macos - MAMP 出现异常 MySql 错误

转载 作者:IT老高 更新时间:2023-10-29 00:08:39 27 4
gpt4 key购买 nike

  • 我设置了 MAMP Pro。在此之前,我设置并删除了 MAMP 和 XAMPP。我疯狂地删除了前两个的所有文件。从那时起,Apache 就没有在 Mamp 默认端口 8888 上运行,而 MySql 根本就没有运行。
  • 一行说“检查 mysqld 进程是否已经运行”,我检查了一下,但没有!- 这是错误日志。
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 35
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 35
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 35
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
130305 19:49:08 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
130305 19:49:08 InnoDB: Operating system error number 35 in a file operation.
InnoDB: Error number 35 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
130305 19:49:08 InnoDB: Could not open or create data files.
130305 19:49:08 InnoDB: If you tried to add new data files, and it failed here,
130305 19:49:08 InnoDB: you should now edit innodb_data_file_path in my.cnf back
130305 19:49:08 InnoDB: to what it was, and remove the new ibdata files InnoDB created
130305 19:49:08 InnoDB: in this failed attempt. InnoDB only wrote those files full of
130305 19:49:08 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
130305 19:49:08 InnoDB: remove old data files which contain your precious data!
130305 19:49:08 [ERROR] Plugin 'InnoDB' init function returned error.
130305 19:49:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130305 19:49:08 [ERROR] Unknown/unsupported storage engine: InnoDB
130305 19:49:08 [ERROR] Aborting

130305 19:49:08 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete

130305 19:49:08 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended

最佳答案

只需在 MAC 上搜索“Activity Monitor”应用程序并搜索任何名为 mysql 的任务并结束它。然后重启 MAMP 就可以了。希望对某人有所帮助。

关于macos - MAMP 出现异常 MySql 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15226394/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com