2014-04-01 41 views
0

我安装了MySQL Server 5.6,但不久之后我不得不安装XAMPP。是MySQL服务无法在XAMPP上启动

当我尝试启动MySQL它只是挂在...

Attempting to start MySQL app... 

在日志中的错误如下...

140401 15:05:43 [Note] Plugin 'FEDERATED' is disabled. 
140401 15:05:43 InnoDB: The InnoDB memory heap is disabled 
140401 15:05:43 InnoDB: Mutexes and rw_locks use Windows interlocked functions 
140401 15:05:43 InnoDB: Compressed tables use zlib 1.2.3 
140401 15:05:43 InnoDB: Initializing buffer pool, size = 16.0M 
140401 15:05:43 InnoDB: Completed initialization of buffer pool 
InnoDB: Error: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1 
140401 15:05:43 InnoDB: Could not open or create data files. 
140401 15:05:43 InnoDB: If you tried to add new data files, and it failed here, 
140401 15:05:43 InnoDB: you should now edit innodb_data_file_path in my.cnf back 
140401 15:05:43 InnoDB: to what it was, and remove the new ibdata files InnoDB created 
140401 15:05:43 InnoDB: in this failed attempt. InnoDB only wrote those files full of 
140401 15:05:43 InnoDB: zeros, but did not yet use them in any way. But be careful: do not 
140401 15:05:43 InnoDB: remove old data files which contain your precious data! 
140401 15:05:43 [ERROR] Plugin 'InnoDB' init function returned error. 
140401 15:05:43 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
140401 15:05:43 [ERROR] Unknown/unsupported storage engine: InnoDB 
140401 15:05:43 [ERROR] Aborting 

140401 15:05:43 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete 

我试图停止服务的MySQL56服务,但它仍然没有工作

我也尝试将my.ini中的端口更改为3307,但仍然没有运气

我明显重启了这些更改后的所有内容,但它只是停留在尝试启动

+0

您单独安装了Mysql ...然后您将XAMPP安装在它上面? – Hackerman

+0

在我看来,像简单的权限问题。尝试重新安装。 – blue

回答

0

卸载并重新安装包含MySQL的XAMPP。很多时候,这些安装将以管理员身份运行,如果您将其视为其他用户,您将无权修改它们。

您也可以尝试右键点击图标来启动XAMPP,然后在卸载/重新安装前选择“以管理员身份运行”并查看是否可以解决该问题。

+0

谢谢,有趣的是,当我以管理员身份运行时,出现一个新错误 - MySQL意外关闭。这可能是由于一个阻塞的端口...等“ – Adrian

+0

只是检查,这是一个工作的计算机或家庭吗?只是好奇,如果有安全策略超出标准的地方,如果可以,检查哪些端口应该打开和在安装XAMPP的过程中,这种“可能”会自动发生,但它可能不会。 – Alan

+0

它实际上是一所大学的计算机,我不认为会有安全问题,因为在此之前我使用的是精细的 无论如何,我按照你的指示,它已经工作,但是当我点击管理,它告诉我......“Firefox无法建立连接到服务器在本地主机。” – Adrian