mysql did not start_mysql 服务无法启动
今天刚装好的MYSQL 被我手动移动了位置,并重新注册为WINDOWS 服务,但是无法启动,
我查看MYSQL生成的启动日志{Mysql_Home}\data\WINDOWS-THPKTVL.err,内容如下:
121209 12:43:04 [Note] Plugin 'FEDERATED' is disabled.
121209 12:43:04 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.
121209 12:43:04 InnoDB: The InnoDB memory heap is disabled
121209 12:43:04 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121209 12:43:04 InnoDB: Compressed tables use zlib 1.2.3
121209 12:43:04 InnoDB: CPU does not support crc32 instructions
121209 12:43:04 InnoDB: Initializing buffer pool, size = 490.0M
121209 12:43:04 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 5242880 bytes
InnoDB: than specified in the .cnf file 102760448 bytes!
121209 12:43:04 [ERROR] Plugin 'InnoDB' init function returned error.
121209 12:43:04 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121209 12:43:04 [ERROR] Unknown/unsupported storage engine: INNODB
121209 12:43:04 [ERROR] Aborting
见上面红色文字,是说日志文件实际大小5M和配置里面设定的100M不一致;
于是我删除{Mysql_Home}\data\ib_logfile0和ib_logfile1文件 ,然后重启服务,依然无法启动,下面日志
121209 12:45:11 [Note] Plugin 'FEDERATED' is disabled.
121209 12:45:11 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.
121209 12:45:11 InnoDB: The InnoDB memory heap is disabled
121209 12:45:11 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121209 12:45:11 InnoDB: Compressed tables use zlib 1.2.3
121209 12:45:11 InnoDB: CPU does not support crc32 instructions
121209 12:45:11 InnoDB: Initializing buffer pool, size = 490.0M
121209 12:45:11 InnoDB: Completed initialization of buffer pool
121209 12:45:11 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 98 MB
InnoDB: Database physically writes the file full: wait...
121209 12:45:14 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 98 MB
InnoDB: Database physically writes the file full: wait...
121209 12:45:15 InnoDB: Cannot initialize created log files because
121209 12:45:15 InnoDB: data files are corrupt, or new data files were
121209 12:45:15 InnoDB: created when the database was started previous
121209 12:45:15 InnoDB: time but the database was not shut down
121209 12:45:15 InnoDB: normally after that.
121209 12:45:15 [ERROR] Plugin 'InnoDB' init function returned error.
121209 12:45:15 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121209 12:45:15 [ERROR] Unknown/unsupported storage engine: INNODB
121209 12:45:15 [ERROR] Aborting
如上面红色所示,数据文件和日志文件时间上不一致;于是再删除{Mysql_Home}\ibdata1,再启动服务,
121209 12:46:04 [Note] Plugin 'FEDERATED' is disabled.
121209 12:46:04 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.
121209 12:46:04 InnoDB: The InnoDB memory heap is disabled
121209 12:46:04 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121209 12:46:04 InnoDB: Compressed tables use zlib 1.2.3
121209 12:46:04 InnoDB: CPU does not support crc32 instructions
121209 12:46:04 InnoDB: Initializing buffer pool, size = 490.0M
121209 12:46:04 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
121209 12:46:04 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
121209 12:46:04 InnoDB: Error: all log files must be created at the same time.
121209 12:46:04 InnoDB: All log files must be created also in database creation.
121209 12:46:04 InnoDB: If you want bigger or smaller log files, shut down the
121209 12:46:04 InnoDB: database and make sure there were no errors in shutdown.
121209 12:46:04 InnoDB: Then delete the existing log files. Edit the .cnf file
121209 12:46:04 InnoDB: and start the database again.
121209 12:46:04 [ERROR] Plugin 'InnoDB' init function returned error.
121209 12:46:04 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121209 12:46:04 [ERROR] Unknown/unsupported storage engine: INNODB
121209 12:46:04 [ERROR] Aborting
上面红色信息,说所有的日志文件必须和数据文件一起创建,于是我把日志文件、数据文件一起删除,再重启
121209 12:46:37 [Note] Plugin 'FEDERATED' is disabled.
121209 12:46:37 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.
121209 12:46:37 InnoDB: The InnoDB memory heap is disabled
121209 12:46:37 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121209 12:46:37 InnoDB: Compressed tables use zlib 1.2.3
121209 12:46:37 InnoDB: CPU does not support crc32 instructions
121209 12:46:37 InnoDB: Initializing buffer pool, size = 490.0M
121209 12:46:37 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
121209 12:46:37 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
121209 12:46:37 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 98 MB
InnoDB: Database physically writes the file full: wait...
121209 12:46:40 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 98 MB
InnoDB: Database physically writes the file full: wait...
121209 12:46:42 InnoDB: Doublewrite buffer not found: creating new
121209 12:46:43 InnoDB: Doublewrite buffer created
121209 12:46:43 InnoDB: 128 rollback segment(s) are active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
121209 12:46:43 InnoDB: Waiting for the background threads to start
121209 12:46:43 InnoDB: 1.2.5 started; log sequence number 0
121209 12:46:43 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 6e184e72-41bb-11e2-aa27-00ff86268d0f.
121209 12:46:44 [Note] Event Scheduler: Loaded 0 events
121209 12:46:44 [Note] MySQL: ready for connections.
Version: '5.6.5-m8' socket: '' port: 3306 MySQL Community Server (GPL)
这下成了!
mysql did not start_mysql 服务无法启动相关推荐
- win10 mysql 3534_win10 mysql 5.7.13 服务无法启动 3534
自己也百度了很多方法都不管用(我用的MySQL是免安装版,直接解压缩的那种) 基本上都是说没有设置data目录,没有 初始化,我很郁闷的是都按照那些步骤处理了,到最后还是不行. 后来把配置文件里面的 ...
- palapaweb的mysql无法运行_Mysql 服务无法启动 服务没有报告任何错误
今天以zip模式在windows10 64位环境下安装mysql5.7,到最后一步提示mysql服务无法启动. 安装步骤如下: 1.配置环境变量 我的电脑->属性->高级->环境变量 ...
- mysql 1067错误,服务无法启动 进程意外终止
无法启动mysql服务,进程意外终止,1067错误 在mysql的主目录下my.ini文件中添加 [WinMySQLServer] server=c:\Program Files\MySQ ...
- mysql在计算机管理的服务里启动不了
前言 本篇记录一次mysql启动不了的经历,如果嫌篇幅过程,可直接跳到总结找到你所需要的答案. 最近我的服务器感觉有点卡,连ie都开不到(不知道什么原因),我打开资源管理器,发现mysql的进程占用c ...
- MySql卸载之后重新安装服务无法启动
此错误的来源是卸载之后数据库文件未删除干净. 解决方案: 1.控制面板,卸载mysql 2.删除C:\Program Files\MySQL 文件夹的所有内容 3.计算机显示隐藏文件,删除C:\Pro ...
- 解压版mysql安装服务失败怎么办_mysql-8.0.17解压版安装步骤及MySQL服务无法启动问题的解决办法...
本人初学使用mysql数据库,由于喜欢使用解压版,于安装配置中遇到许多问题,部分未能在搜索引擎中找到答案,偶然找到解决办法,故于此留下一些随笔,方便自己也为网友提供一点点参考,如有错误的地方,请大家批 ...
- MySQL5.7.11免安装版的安装和配置以及解决MYSQL服务无法启动问题
首先在官网下载MySQL5.7.11免安装版,进行解压.打开文件夹,修改my-default.ini 拷贝一份,改名 my.ini,复制下面的配置信息到 my.ini 保存 <span styl ...
- 解决win10安装MySQL数据库出现服务无法启动的问题
解决win10安装MySQL数据库出现服务无法启动的问题 参考文章: (1)解决win10安装MySQL数据库出现服务无法启动的问题 (2)https://www.cnblogs.com/jyjia/ ...
- mysql-8.0.17解压版安装步骤及MySQL服务无法启动问题的解决办法
mysql-8.0.17解压版安装步骤及MySQL服务无法启动问题的解决办法 参考文章: (1)mysql-8.0.17解压版安装步骤及MySQL服务无法启动问题的解决办法 (2)https://ww ...
最新文章
- Mysql中S 锁和 X 锁的区别
- 转这个博客了,以前的博客不用了。(技术为主,寒暄为辅)
- 快速开发一个自定义 Spring Boot Starter ,希望你也会
- 2.2 CPU 上下文切换是什么意思?(下)
- 如何自学java迅速成为java高手
- 历史上有关人工智能的七个片段
- 网络编辑的内容制作及管理规范
- 为资产分类定义折旧范围_固定资产分类标准及折旧方法5
- Cakephp 创建无模型的Controller
- POST数据加密问题
- [Effective JavaScript 笔记] 第7条:视字符串为16位的代码单元序列
- Web初学者-作业-[学子商城-收藏页]
- 【国象AI】总结 + 参考资料
- 对数(log)的换算公式
- 最新Mac安装/卸载pip教程
- 华为、中兴、大亚等光猫或路由器DDNS设置方法
- 买就赚到的以色列人工智能
- Libgdx游戏编程之卡牌游戏UI布局
- 【操作说明】全能型H.265播放器如何使用
- 骨传导加动圈,这款Dacom耳机有何出众之处?开箱验证
热门文章
- python uwsgi_uwsgi的多站点配置
- 利用二叉链表创建二叉树_利用递归解LeetCode第111题:二叉树的最小深度
- 计算机二级b5纸是多大尺寸,两张b5纸是多大
- php异业联盟平台源码,基于ThinkPHP5.1框架开发的B2C在线商城系统PHP源码
- QT不同线程间signal-slot机制的值传递
- 机器视觉:锡膏印刷质量3D检测光学系统
- HTML编程之利用jquery制作长图动画的方法
- 微信公众平台开发(四)——微信支付
- 基于 vue + zhengAdmin 的一套后台模板
- JDK Windows安装