php - XAMPP错误: MySQL shutdown unexpectedly

标签 php mysql xampp

我刚刚安装了XAMPP,当我按MySQL的启动时,它正常启动,然后突然停止了。 这是我在控制台中得到的内容:

12:52:45 AM  [mysql]    Error: MySQL shutdown unexpectedly.
12:52:45 AM  [mysql]    This may be due to a blocked port, missing dependencies, 
12:52:45 AM  [mysql]    improper privileges, a crash, or a shutdown by another method.
12:52:45 AM  [mysql]    Press the Logs button to view error logs and check
12:52:45 AM  [mysql]    the Windows Event Viewer for more clues
12:52:45 AM  [mysql]    If you need more help, copy and post this
12:52:45 AM  [mysql]    entire log window on the forums

错误日志文件如下:

Version: '5.6.24'  socket: ''  port: 3306  MySQL Community Server (GPL)
2015-10-22 10:01:43 7700 [Note] Plugin 'FEDERATED' is disabled.
2015-10-22 10:01:43 12f0 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.
2015-10-22 10:01:43 7700 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-10-22 10:01:43 7700 [Note] InnoDB: The InnoDB memory heap is disabled
2015-10-22 10:01:43 7700 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-10-22 10:01:43 7700 [Note] InnoDB: Memory barrier is not used
2015-10-22 10:01:43 7700 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-10-22 10:01:43 7700 [Note] InnoDB: Not using CPU crc32 instructions
2015-10-22 10:01:43 7700 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-10-22 10:01:43 7700 [Note] InnoDB: Completed initialization of buffer pool
2015-10-22 10:01:43 7700 [Note] InnoDB: Highest supported file format is Barracuda.
2015-10-22 10:01:43 7700 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 39662092 in the ib_logfiles!
2015-10-22 10:01:43 7700 [Note] InnoDB: Database was not shutdown normally!
2015-10-22 10:01:43 7700 [Note] InnoDB: Starting crash recovery.
2015-10-22 10:01:43 7700 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-10-22 10:01:44 7700 [Note] InnoDB: Restoring possible half-written data pages 
2015-10-22 10:01:44 7700 [Note] InnoDB: from the doublewrite buffer...
2015-10-22 10:01:44 7700 [Note] InnoDB: 128 rollback segment(s) are active.
2015-10-22 10:01:44 7700 [Note] InnoDB: Waiting for purge to start
2015-10-22 10:01:44 7700 [Note] InnoDB: 5.6.24 started; log sequence number 39662092
2015-10-22 10:01:44 7700 [Note] Server hostname (bind-address): '*'; port: 3306
2015-10-22 10:01:44 7700 [Note] IPv6 is available.
2015-10-22 10:01:44 7700 [Note]   - '::' resolves to '::';
2015-10-22 10:01:44 7700 [Note] Server socket created on IP: '::'.
2015-10-22 10:01:45 7700 [Note] Event Scheduler: Loaded 0 events
2015-10-22 10:01:45 7700 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.6.24'  socket: ''  port: 3306  MySQL Community Server (GPL)

有人可以帮助我吗?我应该回去使用这个 XAMPP。先谢谢了!

最佳答案

如果您使用的是 Linux/Unix,请尝试通过在 lampp 文件夹中运行 mysqld 来手动启动 mysql,看看这是否有效?

关于php - XAMPP错误: MySQL shutdown unexpectedly,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33287819/

相关文章:

php - fpdf multicell 没有生成相同的高度

mysql - PHPmyadmin 当前日期是否基于我计算机的本地日期?

php - 用户点击时 onClick 不起作用 "back"

php - 使用HTTP身份验证

MySQL:要合并的查询

mysql - 允许 NULL 的 InnoDB 索引大小 (MySQL)

mysql - Windows 版 XAMPP 存在安全漏洞?

php - 在 PHP 7 中触发 fatal error (非异常)

php - 从 php 变量创建 html 代码的更好方法?

php - 在 PHP 中一次从 3 个表中删除行