一、打開軟件的主界面,打開Apache和MySQL,而後點擊MySQL後面的admin。且我操做時,Apache,MySQL要啓動,纔打的開。 mysql
二、打開MySQL,報錯。sql
09:00:23 [mysql] Error: MySQL shutdown unexpectedly.
09:00:23 [mysql] This may be due to a blocked port, missing dependencies,
09:00:23 [mysql] improper privileges, a crash, or a shutdown by another method.
09:00:23 [mysql] Check the "/xampp/mysql/data/mysql_error.log" file
09:00:23 [mysql] and the Windows Event Viewer for more clues數據庫
如圖blog
已嘗試:
刪除data中的ibdata1
添加innodb_force_recovery=1或innodb_force_recovery=4
修改port3306爲其餘
都不起做用。ci
其中:添加innodb_force_recovery=1或innodb_force_recovery=4後,會彈出mysqld.exe已中止工做的新問題。innodb
我能說,我後來沒找到解決方法,重裝XAMPP,但要記得不要刪除htdocs裏的項目。 bfc
二、建立數據庫軟件