簡體   English   中英

如何在xampp服務器中運行MySql?

[英]How to run MySql in xampp server?

如何解決這個問題呢 ?

我想用php代碼連接mysql服務器。 但我嘗試運行mysql數據庫服務,卻看到此錯誤。

17:45:11  [mysql]    Status change detected: stopped 17:45:11  [mysql]
Error: MySQL shutdown unexpectedly. 17:45:11  [mysql]    This may be
due to a blocked port, missing dependencies,  17:45:11  [mysql]
improper privileges, a crash, or a shutdown by another method.

17:45:11  [mysql]   Press the Logs button to view error logs and check

17:45:11  [mysql]   the Windows Event Viewer for more clues 17:45:11 
[mysql]    If you need more help, copy and post this 17:45:11  [mysql]
entire log window on the forums

也許您應該檢查您的MySQL端口是否未被占用,例如3306

您可以嘗試幾件事-

嘗試運行mysql控制台,看看mysql是否工作正常。 如果是這樣,請嘗試將其連接到php並執行您的代碼

以administartor身份運行xampp,然后嘗試運行mysql

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM