我在啓動XAMPP時遇到以下錯誤。Apache - MySQL服務檢測到錯誤的路徑。 /端口已被使用
12:35:23 [main] Initializing Control Panel
12:35:23 [main] Windows Version: 64-bit
12:35:23 [main] XAMPP Version: 1.8.1
12:35:23 [main] Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]
12:35:23 [main] Running with Administrator rights - good!
12:35:23 [main] XAMPP Installation Directory: "c:\xampp\"
12:35:23 [main] Checking for prerequisites
12:35:23 [main] All prerequisites found
12:35:23 [main] Initializing Modules
12:35:23 [Apache] XAMPP Apache Service is already running on port 80
12:35:23 [Apache] XAMPP Apache Service is already running on port 443
12:35:23 [mysql] MySQL Service detected with wrong path
12:35:23 [mysql] Change XAMPP MySQL settings or
12:35:23 [mysql] Uninstall/disable the other service manually first
12:35:23 [mysql] Found Path: "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL
12:35:23 [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
12:35:23 [mysql] Problem detected!
12:35:23 [mysql] Port 3306 in use by "mysqld.exe"!
12:35:23 [mysql] MySQL WILL NOT start without the configured ports free!
12:35:23 [mysql] You need to uninstall/disable/reconfigure the blocking application
12:35:23 [mysql] or reconfigure MySQL to listen on a different port
12:35:23 [main] Starting Check-Timer
12:35:23 [main] Control Panel Ready
我無法在google上找到合適的解決方案,所以我有點兒'希望有人能幫我解決這個問題。
呵呵,XAMPP運行正常。 Apache和MySQL服務都運行..
您已經在您的機器上運行MySQL進程。嘗試禁用「服務」中的服務(Win + R - > services.msc並搜索MySQL服務)。 – Pigueiras
但是,如果我這樣做,我將取消哪個MySQL進程?因爲我真的想保持它運行爲Apache的緣故.. - 對不起,我有點'新來這個。 –
你有一個在3306端口運行的進程,可能是另一個mysql進程。您可以嘗試刪除它,或更改XAMPP中的mysql進程的端口。 – Pigueiras