2016-08-11 92 views
4

嘗試安裝Wordpress時,我收到此錯誤消息:無法在MAMP上安裝Wordpress

由於未知錯誤,mamp已退出。請檢查日誌目錄中的mamp pro錯誤日誌以獲取更多信息。

此外,嘗試MySQL的標籤我收到此錯誤消息下更改MySQL密碼時:

甲基苯丙胺無法更新的MySQL密碼。請檢查mysql是否正在運行,檢查您的配置並重試。

這裏是我的錯誤日誌:

----apache---- 

[Thu Aug 11 14:54:25 2016] [warn] pid file C:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? 
[Thu Aug 11 14:54:25 2016] [notice] Digest: generating secret for digest authentication ... 
[Thu Aug 11 14:54:25 2016] [notice] Digest: done 
[Thu Aug 11 14:54:26 2016] [notice] Apache/2.2.31 (Win32) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.2e mod_fcgid/2.3.9 mod_wsgi/3.4 Python/2.7.6 PHP/7.0.6 mod_perl/2.0.8 Perl/v5.16.3 configured -- resuming normal operations 
[Thu Aug 11 14:54:26 2016] [notice] Server built: May 6 2016 10:19:53 
[Thu Aug 11 14:54:26 2016] [notice] Parent: Created child process 11620 
[Thu Aug 11 14:54:27 2016] [notice] Digest: generating secret for digest authentication ... 
[Thu Aug 11 14:54:27 2016] [notice] Digest: done 
[Thu Aug 11 14:54:28 2016] [notice] Child 11620: Child process is running 
[Thu Aug 11 14:54:28 2016] [notice] Child 11620: Acquired the start mutex. 
[Thu Aug 11 14:54:28 2016] [notice] Child 11620: Starting 64 worker threads. 
[Thu Aug 11 14:54:28 2016] [notice] Child 11620: Starting thread to listen on port 8888. 
[Thu Aug 11 14:55:34 2016] [warn] pid file C:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? 
[Thu Aug 11 14:55:34 2016] [notice] Digest: generating secret for digest authentication ... 
[Thu Aug 11 14:55:34 2016] [notice] Digest: done 
[Thu Aug 11 14:55:35 2016] [notice] Apache/2.2.31 (Win32) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.2e mod_fcgid/2.3.9 mod_wsgi/3.4 Python/2.7.6 PHP/7.0.6 mod_perl/2.0.8 Perl/v5.16.3 configured -- resuming normal operations 
[Thu Aug 11 14:55:35 2016] [notice] Server built: May 6 2016 10:19:53 
[Thu Aug 11 14:55:35 2016] [notice] Parent: Created child process 4176 
[Thu Aug 11 14:55:36 2016] [notice] Digest: generating secret for digest authentication ... 
[Thu Aug 11 14:55:36 2016] [notice] Digest: done 
[Thu Aug 11 14:55:37 2016] [notice] Child 4176: Child process is running 
[Thu Aug 11 14:55:37 2016] [notice] Child 4176: Acquired the start mutex. 
[Thu Aug 11 14:55:37 2016] [notice] Child 4176: Starting 64 worker threads. 
[Thu Aug 11 14:55:37 2016] [notice] Child 4176: Starting thread to listen on port 80. 

-------- 

----mysql---- 

160811 14:54:28 [Note] Plugin 'FEDERATED' is disabled. 
160811 14:54:28 InnoDB: The InnoDB memory heap is disabled 
160811 14:54:28 InnoDB: Mutexes and rw_locks use Windows interlocked functions 
160811 14:54:28 InnoDB: Compressed tables use zlib 1.2.3 
160811 14:54:28 InnoDB: Initializing buffer pool, size = 128.0M 
160811 14:54:28 InnoDB: Completed initialization of buffer pool 
160811 14:54:28 InnoDB: highest supported file format is Barracuda. 
160811 14:54:28 InnoDB: Waiting for the background threads to start 
160811 14:54:29 InnoDB: 5.5.49 started; log sequence number 1595675 
160811 14:54:29 [Note] Server hostname (bind-address): '0.0.0.0'; port: 8889 
160811 14:54:29 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 
160811 14:54:29 [Note] Server socket created on IP: '0.0.0.0'. 
160811 14:54:29 [Note] Event Scheduler: Loaded 0 events 
160811 14:54:29 [Note] C:\MAMP\bin\mysql\bin\mysqld.exe: ready for connections. 
Version: '5.5.49-log' socket: '' port: 8889 MySQL Community Server (GPL) 
160811 14:55:30 [Note] C:\MAMP\bin\mysql\bin\mysqld.exe: Normal shutdown 

160811 14:55:30 [Note] Event Scheduler: Purging the queue. 0 events 
160811 14:55:30 InnoDB: Starting shutdown... 
160811 14:55:31 InnoDB: Shutdown completed; log sequence number 1595675 
160811 14:55:31 [Note] C:\MAMP\bin\mysql\bin\mysqld.exe: Shutdown complete 

160811 14:55:37 [Note] Plugin 'FEDERATED' is disabled. 
160811 14:55:37 InnoDB: The InnoDB memory heap is disabled 
160811 14:55:37 InnoDB: Mutexes and rw_locks use Windows interlocked functions 
160811 14:55:37 InnoDB: Compressed tables use zlib 1.2.3 
160811 14:55:37 InnoDB: Initializing buffer pool, size = 128.0M 
160811 14:55:37 InnoDB: Completed initialization of buffer pool 
160811 14:55:37 InnoDB: highest supported file format is Barracuda. 
160811 14:55:37 InnoDB: Waiting for the background threads to start 
160811 14:55:38 InnoDB: 5.5.49 started; log sequence number 1595675 
160811 14:55:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 
160811 14:55:38 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 
160811 14:55:38 [Note] Server socket created on IP: '0.0.0.0'. 
160811 14:55:38 [Note] Event Scheduler: Loaded 0 events 
160811 14:55:38 [Note] C:\MAMP\bin\mysql\bin\mysqld.exe: ready for connections. 
Version: '5.5.49-log' socket: '' port: 3306 MySQL Community Server (GPL) 
160811 15:01:46 [Note] C:\MAMP\bin\mysql\bin\mysqld.exe: Normal shutdown 

160811 15:01:46 [Note] Event Scheduler: Purging the queue. 0 events 
160811 15:01:46 InnoDB: Starting shutdown... 
160811 15:01:47 InnoDB: Shutdown completed; log sequence number 1595675 
160811 15:01:47 [Note] C:\MAMP\bin\mysql\bin\mysqld.exe: Shutdown complete 

-------- 

如果你將能夠爲我提供一個解決的辦法,這將是大加讚賞。

+0

如何進行'WP-config.php'文件是什麼樣子? – MinhTri

+0

如果MAMP由於未知錯誤而退出,是否重新安裝(新版本)MAMP? – Kat

回答

0

事件如果MAMP退出,有時候MySQL會在後臺運行。你能否殺死所有MySQL後臺進程並重試?

  1. 退出甲基苯丙胺
  2. 打開終端,輸入:killall -9 mysqld
  3. 重啓MAMP