无法在XAMPP中启动MySQL

km0tfn4u  于 5个月前  发布在  Mysql
关注(0)|答案(3)|浏览(40)

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是否被使用,但它提到没有服务使用该端口。
谢谢你的帮忙。

bkhjykvo

bkhjykvo1#

当我的错误没有在mysql中运行时InnoDB:Warning:Using innodb_additional_pump_pool_size is DEPRECATED.这个选项可能会在未来的版本中被删除,连同选项innodb_use_sys_malloc和InnoDB的内部内存分配器一起。2015-11-10 15:26:56 4348 [注] InnoDB:Using mutexes to ref count buffer pool pages
解决方案:删除ibdata 1,all(ib_logfile).并重新启动xampp

bz4sfanl

bz4sfanl2#

您自己的链接SO页面有答案。从您的错误日志:
2014-08-27 09:12:23 3296 [注] InnoDB:ibdata 文件中的日志序列号1625987和1625987与ib_logfiles中的日志序列号3459249不匹配!
然后,从XAMPP - MySQL shutdown unexpectedly中评分最高的答案

  • 退出Xampp服务器
  • 转到C:\xampp\mysql\data目录
    • 删除ibdata 1文件 *
  • 重新启动xampp服务器

试试看,你应该有它击败。

0h4hbjxa

0h4hbjxa3#

我也有同样的问题。不幸的是,上述解决方案对我不起作用。我已经通过删除ib_logfile0,ib_logfile1.所有日志文件解决了这个问题,我的xampp现在工作得很好!根据上述解决方案,如果我删除ibdata 1文件,那么我的所有数据库都丢失了。所以,我保留ibdata 1文件并删除所有日志文件。
感谢stackoverflow.com

相关问题