Tôi đã sử dụng MAMP trong một thời gian ngắn nhưng một vài tháng trước, nó bắt đầu cho tôi vấn đề. Tôi đã kể từ khi nhìn trực tuyến thông qua tìm kiếm google và tràn ngăn xếp để tìm một giải pháp nhưng tôi đã không nhìn thấy bất cứ điều gì có thể giúp tôi được nêu ra.mysql không bắt đầu trên mamp
tôi đã tìm kiếm một số điều nhưng những điều đó tôi cảm thấy có thể đã được gần đã giúp đỡ tôi không:
MAMP mysql not starting Tôi không chắc chắn đường dẫn đến thư mục dữ liệu của tôi? và bất cứ điều gì tôi gõ vào terminal dường như trở lại như commmand không tìm thấy
Mysql service won't start, InnoDB init function error
MAMP mysql server won't start. No mysql processes are running Tôi đã cố gắng để killall nhưng "Không có quá trình hợp thuộc bạn đã được tìm thấy" lỗi được hiển thị
Khoảng một giờ trước mqsql của tôi đã làm việc nhưng không apache, vì vậy tôi tìm thấy như là bài viết cho biết để đổi tên Thư viện/bin/envvars để _envvars, apache làm việc trên khởi động nhưng sau đó mysql không.
Tôi không nhận được bất kỳ lỗi nào trong nhật ký php của mình nhưng đây là nhật ký apache và mysql của tôi.
Dưới đây là một đoạn trích từ tận đáy lỗi mysql đăng nhập
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.
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.
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.
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.
170118 15:52:39 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
170118 15:52:39 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
170118 15:52:39 InnoDB: Could not open or create data files.
170118 15:52:39 InnoDB: If you tried to add new data files, and it failed here,
170118 15:52:39 InnoDB: you should now edit innodb_data_file_path in my.cnf back
170118 15:52:39 InnoDB: to what it was, and remove the new ibdata files InnoDB created
170118 15:52:39 InnoDB: in this failed attempt. InnoDB only wrote those files full of
170118 15:52:39 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
170118 15:52:39 InnoDB: remove old data files which contain your precious data!
170118 15:52:39 [ERROR] Plugin 'InnoDB' init function returned error.
170118 15:52:39 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170118 15:52:39 [ERROR] Unknown/unsupported storage engine: InnoDB
170118 15:52:39 [ERROR] Aborting
170118 15:52:39 [Note] /Applications/MAMP/Library/bin/mysqld: Shutdown complete
170118 15:52:39 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended
và sau đó các bản ghi lỗi apache
[Wed Jan 18 15:48:28 2017] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 18 15:48:28 2017] [notice] Digest: done
[Wed Jan 18 15:48:28 2017] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8zh DAV/2 PHP/5.3.6 configured -- resuming normal operations
[Wed Jan 18 15:48:31 2017] [notice] caught SIGTERM, shutting down
[Wed Jan 18 15:51:01 2017] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 18 15:51:01 2017] [notice] Digest: done
[Wed Jan 18 15:51:01 2017] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8zh DAV/2 PHP/5.3.6 configured -- resuming normal operations
cổng của tôi là: apache 80 và mysql 3306.
Nếu có ai đó có thể biết điều gì có thể xảy ra sẽ thật tuyệt vời ..
[Xem điều này có thể giải quyết vấn đề của bạn] (http://stackoverflow.com/a/33746682/2151290) –
kiểm tra ứng dụng khác của hệ thống của bạn, tôi nhận được cổng mysql –