我在Windows 8(64位)上安裝了XAMPP。在XAMPP控制面板中,我無法啓動mySQL。根據該鏈接:「/xampp/mysql/bin/my.ini C」從3306到3307:我改變的MySQL端口XAMPP - MySQL意外關閉
現在在代碼「的my.ini」改變爲:
[client]
# password = your_password
port = 3307
socket = "C:/xampp/mysql/mysql.sock"
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
port= 3307
socket = "C:/xampp/mysql/mysql.sock"
現在它仍然給出了錯誤:
11:31:48 AM [mysql] Attempting to start MySQL service...
11:31:56 AM [mysql] Status change detected: running
11:32:01 AM [mysql] Status change detected: stopped
11:32:01 AM [mysql] Error: MySQL shutdown unexpectedly.
11:32:01 AM [mysql] This may be due to a blocked port, missing dependencies,
11:32:01 AM [mysql] improper privileges, a crash, or a shutdown by another method.
11:32:01 AM [mysql] Press the Logs button to view error logs and check
11:32:01 AM [mysql] the Windows Event Viewer for more clues
11:32:01 AM [mysql] If you need more help, copy and post this
11:32:01 AM [mysql] entire log window on the forums
我刪除了 「ibdata1中」 文件 「C:\ XAMPP的\ mysql的\數據」。
也停止了mysql56服務。
任何幫助表示讚賞。謝謝
「按日誌按鈕查看錯誤日誌並檢查「 – Sirko 2015-04-06 08:53:09
嘗試使用netstat cek阻止端口和可用端口。 如果3306端口在used.try中關閉該進程,則不需要更改該端口。 – 2015-04-06 09:19:05