2014-08-29 166 views
0

Xampp mysql phpmyadmin几天前运行完美。现在我遇到了这个问题。无法在xampp中启动mysql

我试图改变端口号,但是我还是会遇到这个问题

Windows错误提示,告诉我说:

mysqld.exe已经停止与下列问题的详细信息工作:

Problem signature: 
    Problem Event Name: APPCRASH 
    Application Name: mysqld.exe 
    Application Version: 5.6.16.0 
    Application Timestamp: 52d55dcc 
    Fault Module Name: mysqld.exe 
    Fault Module Version: 5.6.16.0 
    Fault Module Timestamp: 52d55dcc 
    Exception Code: c0000005 
    Exception Offset: 00b5957a 
    OS Version: 6.1.7601.2.1.0.272.7 
    Locale ID: 1033 
    Additional Information 1: 0a9e 
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 
    Additional Information 3: 0a9e 
    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 

Read our privacy statement online: 
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 

If the online privacy statement is not available, please read our privacy statement offline: 
    C:\Windows\system32\en-US\erofflps.txt 

Xampp控制面板还提供以下错误详细信息:

10:47:55 AM [main]  Control Panel Ready 
10:47:56 AM [mysql] Attempting to start MySQL app... 
10:47:56 AM [mysql] Status change detected: running 
10:47:59 AM [mysql] Status change detected: stopped 
10:47:59 AM [mysql] Error: MySQL shutdown unexpectedly. 
10:47:59 AM [mysql] This may be due to a blocked port, missing dependencies, 
10:47:59 AM [mysql] improper privileges, a crash, or a shutdown by another method. 
10:47:59 AM [mysql] Press the Logs button to view error logs and check 
10:47:59 AM [mysql] the Windows Event Viewer for more clues 
10:47:59 AM [mysql] If you need more help, copy and post this 
10:47:59 AM [mysql] entire log window on the forums 

我也试过这样做,这是有效的一些人同样的问题

XAMPP - MySQL shutdown unexpectedly

我打开错误日志,但我似乎无法理解它说什么。

2014-08-27 09:12:23 3296 [Note] Plugin 'FEDERATED' is disabled. 
2014-08-27 09:12:23 ce4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 
2014-08-27 09:12:23 3296 [Note] InnoDB: Using atomics to ref count buffer pool pages 
2014-08-27 09:12:23 3296 [Note] InnoDB: The InnoDB memory heap is disabled 
2014-08-27 09:12:23 3296 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 
2014-08-27 09:12:23 3296 [Note] InnoDB: Compressed tables use zlib 1.2.3 
2014-08-27 09:12:23 3296 [Note] InnoDB: Not using CPU crc32 instructions 
2014-08-27 09:12:23 3296 [Note] InnoDB: Initializing buffer pool, size = 16.0M 
2014-08-27 09:12:23 3296 [Note] InnoDB: Completed initialization of buffer pool 
2014-08-27 09:12:23 3296 [Note] InnoDB: Highest supported file format is Barracuda. 
2014-08-27 09:12:23 3296 [Note] InnoDB: The log sequence numbers 1625987 and 1625987 in ibdata files do not match the log sequence number 3459249 in the ib_logfiles! 
2014-08-27 09:12:23 3296 [Note] InnoDB: Database was not shutdown normally! 
2014-08-27 09:12:23 3296 [Note] InnoDB: Starting crash recovery. 
2014-08-27 09:12:23 3296 [Note] InnoDB: Reading tablespace information from the .ibd files... 
2014-08-27 09:12:23 3296 [Note] InnoDB: Restoring possible half-written data pages 
2014-08-27 09:12:23 3296 [Note] InnoDB: from the doublewrite buffer... 
2014-08-27 09:12:25 3296 [Note] InnoDB: 128 rollback segment(s) are active. 
2014-08-27 09:12:25 3296 [Note] InnoDB: Waiting for purge to start 
2014-08-27 09:12:25 3296 [Note] InnoDB: 5.6.16 started; log sequence number 3459249 
2014-08-27 09:12:25 3296 [Note] Server hostname (bind-address): '*'; port: 3306 
2014-08-27 09:12:25 3296 [Note] IPv6 is available. 
2014-08-27 09:12:25 3296 [Note] - '::' resolves to '::'; 
2014-08-27 09:12:25 3296 [Note] Server socket created on IP: '::'. 
2014-08-27 09:12:26 3296 [Note] Event Scheduler: Loaded 0 events 
2014-08-27 09:12:26 3296 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections. 
Version: '5.6.16' socket: '' port: 3306 MySQL Community Server (GPL) 

我也遇到了一个解决方案,这又改变了与skype冲突的端口。但是,我没有安装在我的电脑

XAMPP - Error: MySQL shutdown unexpectedly

我也试过netstat来检查是否正在使用我的MySQL默认端口3306的Skype,但它提到,任何服务使用该端口。

感谢您的帮助。

回答

1

你自己的链接SO页面有答案。从你的错误日志:

2014年8月27日九时12分23秒3296 [注] InnoDB的:日志序列号在ibdata文件不匹配的日志序列号3459249 1625987和1625987 ib_logfiles!

然后,从XAMPP - MySQL shutdown unexpectedly

  • 退出XAMPP服务器收视率最高的答案
  • 去你的C:\ XAMPP的\ mysql的\ data目录
  • 删除ibdata1中的文件
  • 重新启动xampp服务器

尝试这一点,你应该有它击败。

+0

我已经删除ibdata1文件。仍然遇到同样的错误:( – Borsalino 2014-08-29 03:19:02

+0

然后,我会尝试关闭mysql,在你的mysql配置中的[mysqld]部分添加'innodb_force_recovery = 1',然后重新启动= ing mysql。 – TunaMaxx 2014-08-29 03:23:36

+0

感谢您的解决方案。我的控制面板:( – Borsalino 2014-08-29 03:29:57

4

当我的错误不在mysql中运行 InnoDB:警告:使用innodb_additional_mem_pool_size是DEPRECATED。此选项可能会在未来版本中与选项innodb_use_sys_malloc和InnoDB的内部内存分配器一起删除。 2015年11月10日15时26分56秒4348 [注] InnoDB的:使用互斥来引用计数缓冲池页面

解决办法:删除ibdata1中,所有(ib_logfile)...,然后重新启动XAMPP

+0

很好,这对我很有用,谢谢 – Rajazk 2018-02-12 09:11:10