php - windows下XAMPP中Mysql无法启动的问题【加急】
天蓬老师
天蓬老师 2017-04-10 17:29:39
[PHP讨论组]

已尝试:
删除data中的ibdata1
添加innodb_force_recovery=1或innodb_force_recovery=4
修改port3306为其他
都不起作用。

其中:
添加innodb_force_recovery=1或innodb_force_recovery=4后,会弹出mysqld.exe已停止工作的新问题。

在线求解

以下是Logs中的错误报告:
2016-04-28 14:33:51 1a84 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.
2016-04-28 14:33:52 6788 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-04-28 14:33:52 6788 [Note] InnoDB: The InnoDB memory heap is disabled
2016-04-28 14:33:52 6788 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-04-28 14:33:52 6788 [Note] InnoDB: Memory barrier is not used
2016-04-28 14:33:52 6788 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-04-28 14:33:52 6788 [Note] InnoDB: Using generic crc32 instructions
2016-04-28 14:33:52 6788 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-04-28 14:33:52 6788 [Note] InnoDB: Completed initialization of buffer pool
2016-04-28 14:33:52 6788 [Note] InnoDB: Restoring page 0 of tablespace 0
2016-04-28 14:33:52 6788 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2016-04-28 14:33:52 6788 [ERROR] InnoDB: space header page consists of zero bytes in data file C:xamppmysqldataibdata1
2016-04-28 14:33:52 6788 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2016-04-28 14:33:52 6788 [ERROR] Plugin 'InnoDB' init function returned error.
2016-04-28 14:33:52 6788 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-04-28 14:33:52 6788 [Note] Plugin 'FEEDBACK' is disabled.
2016-04-28 14:33:52 6788 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-04-28 14:33:52 6788 [ERROR] Aborting

以下是xampp控制台中的错误报告:
14:35:07 [mysql] Attempting to start MySQL app...
14:35:08 [mysql] Status change detected: running
14:35:08 [mysql] Status change detected: stopped
14:35:08 [mysql] Error: MySQL shutdown unexpectedly.
14:35:08 [mysql] This may be due to a blocked port, missing dependencies,
14:35:08 [mysql] improper privileges, a crash, or a shutdown by another method.
14:35:08 [mysql] Press the Logs button to view error logs and check
14:35:08 [mysql] the Windows Event Viewer for more clues
14:35:08 [mysql] If you need more help, copy and post this
14:35:08 [mysql] entire log window on the forums

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

全部回复(2)
大家讲道理

重置mysql的启动配置 删除所有ibdata1 ibdataXXib_logfile0 ib_logfile1 ..等等 重启mysql

怪我咯

卸载了重装吧

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号