Tôi nhận được các lỗi sau khi khởi chạy XAMPP.Apache - Dịch vụ MySQL được phát hiện có đường dẫn sai./Cổng đã được sử dụng
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
Tôi không thể tìm thấy giải pháp thích hợp trên google, vì vậy, tôi hy vọng ai đó có thể giúp tôi với điều này.
Ồ và, XAMPP đang chạy đúng cách. Apache và dịch vụ MySQL đều chạy ..
Bạn đã có quá trình MySQL đang chạy trong máy của bạn. Hãy thử vô hiệu hóa dịch vụ trong 'Services' (Win + R -> services.msc và tìm kiếm một dịch vụ MySQL). – Pigueiras
Nhưng tôi sẽ hủy bỏ quy trình MySQL nào nếu tôi làm như vậy? Như tôi thực sự muốn giữ nó chạy vì lợi ích của Apache .. - Xin lỗi, tôi là kinda 'mới này. –
Bạn có một quá trình chạy trong cổng 3306, và có lẽ là một quá trình mysql khác. Bạn có thể thử loại bỏ nó, hoặc thay đổi cổng của quá trình mysql trong XAMPP. – Pigueiras