Xampp mysql phpmyadmin几天前运行得很好。现在我遇到了这个问题。
我尝试更改端口号,但我仍遇到此问题
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冲突的端口。但我没有在我的电脑上安装skype
XAMPP - Error: MySQL shutdown unexpectedly
我还尝试使用NetStat检查我的默认mysql端口3306是否正在使用,但它提到没有服务使用该端口。
感谢您的帮助。
答案 0 :(得分:6)
当我的错误没有在mysql中运行时 InnoDB:警告:使用innodb_additional_mem_pool_size是DEPRECATED。在将来的版本中可以删除此选项,以及选项innodb_use_sys_malloc和InnoDB的内部内存分配器。 2015-11-10 15:26:56 4348 [注意] InnoDB:使用互斥量来引用缓冲池页面
解决方案:删除ibdata1,all(ib_logfile)...并重启xampp
答案 1 :(得分:1)
您自己的关联SO页面有答案。从您的错误日志:
2014-08-27 09:12:23 3296 [注意] InnoDB: ibdata 文件中的日志序列号1625987和1625987与日志序列号不匹配在ib_logfiles中的3459249!
然后,来自XAMPP - MySQL shutdown unexpectedly
中评分最高的答案
- 退出Xampp服务器
- 转到您的C:\ xampp \ mysql \ data目录
- 删除ibdata1文件
- 重新启动xampp服务器
尝试一下,你应该打败它。
答案 2 :(得分:0)
我有同样的问题。不幸的是,上述解决方案对我没有用。 我已经通过删除ib_logfile0,ib_logfile1 ...解决了所有日志文件,而我的xampp现在可以正常工作了! 根据上述解决方案,如果我删除ibdata1文件,则所有数据库都丢失了。 因此,我保留了ibdata1文件并删除了所有日志文件。
感谢stackoverflow.com