对于学校项目,我需要使用Wordpress创建一个网站,我需要在XAMPP控制面板3.2.1上启动Apache和MySQL。我正在运行Windows 7计算机,启动Apache时没有任何问题,但我确实遇到了MySQL问题。在面板中,它给了我这个错误:
11:00:41 [mysql] Error: MySQL shutdown unexpectedly.
11:00:41 [mysql] This may be due to a blocked port, missing dependencies,
11:00:41 [mysql] improper privileges, a crash, or a shutdown by another method.
11:00:41 [mysql] Press the Logs button to view error logs and check
11:00:41 [mysql] the Windows Event Viewer for more clues
11:00:41 [mysql] If you need more help, copy and post this
11:00:41 [mysql] entire log window on the forums
在日志中它说:
2014-03-13 10:57:26 6380 [Note] Plugin 'FEDERATED' is disabled.
2014-03-13 10:57:26 6380 [Note] Plugin 'InnoDB' is disabled.
2014-03-13 10:57:26 6380 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-03-13 10:57:26 6380 [ERROR] Aborting
2014-03-13 10:57:26 6380 [Note] Binlog end
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'partition'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_METRICS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_CMPMEM'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_CMP'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_LOCKS'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'INNODB_TRX'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'BLACKHOLE'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'ARCHIVE'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'MRG_MYISAM'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'MyISAM'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'MEMORY'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'CSV'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'sha256_password'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'mysql_old_password'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'mysql_native_password'
2014-03-13 10:57:26 6380 [Note] Shutting down plugin 'binlog'
2014-03-13 10:57:26 6380 [Note] C:\xampp\mysql\bin\mysqld.exe: Shutdown complete
我尝试了什么:
答案 0 :(得分:0)
您可能正在处理my.ini中损坏的innodb文件和/或禁用的innodb引擎(这可能很奇怪,因为它是当前版本中的默认存储引擎)。
尝试在my.ini文件的记录中添加您的问题。
另外,我找到了blogpost of a guy who had a similar problem,如果您正在处理空白数据库并且不怕丢失有价值的数据,也许您应该尝试这样做。