mysql无法启动,无法改变状态

felixlau1234 2014-12-01 01:04:19
版本mysql 5.6.21.1
新手,下午正常操作学习修改root的密码,然后弄过最近不响应的goagent跟google chrome一下,重启后mysql就死活不动,
the the service mysql56 failed the most recent status change request with the message
the service mysql56 was not found in the Windows services
if problem persists please restart mysql notifier
用configure instance强行启动OK,但是,无法改变状态
删除两个ib_logfile的方法尝试过,未果,求解。
err日志
2014-11-30 16:47:14 1360 [Note] Giving 0 client threads a chance to die gracefully
2014-11-30 16:47:14 1360 [Note] Event Scheduler: Purging the queue. 0 events
2014-11-30 16:47:15 1360 [Note] Shutting down slave threads
2014-11-30 16:47:15 1360 [Note] Forcefully disconnecting 0 remaining clients
2014-11-30 16:47:17 1360 [Note] Binlog end
2014-11-30 16:47:32 1360 [Note] Shutting down plugin 'partition'
2014-11-30 16:47:32 1360 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_METRICS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_CMPMEM'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_CMP'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_LOCKS'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'INNODB_TRX'
2014-11-30 16:47:33 1360 [Note] Shutting down plugin 'InnoDB'
2014-11-30 16:47:33 1360 [Note] InnoDB: FTS optimize thread exiting.
2014-11-30 16:47:34 1360 [Note] InnoDB: Starting shutdown...
2014-11-30 16:47:55 1360 [Note] InnoDB: Shutdown completed; log sequence number 8980090
2014-11-30 16:47:55 1360 [Note] Shutting down plugin 'BLACKHOLE'
2014-11-30 16:47:55 1360 [Note] Shutting down plugin 'ARCHIVE'
2014-11-30 16:47:55 1360 [Note] Shutting down plugin 'MRG_MYISAM'
2014-11-30 16:47:55 1360 [Note] Shutting down plugin 'MyISAM'
2014-11-30 16:47:56 1360 [Note] Shutting down plugin 'MEMORY'
2014-11-30 16:47:56 1360 [Note] Shutting down plugin 'CSV'
2014-11-30 16:47:56 1360 [Note] Shutting down plugin 'sha256_password'
2014-11-30 16:47:56 1360 [Note] Shutting down plugin 'mysql_old_password'
2014-11-30 16:47:56 1360 [Note] Shutting down plugin 'mysql_native_password'
2014-11-30 16:47:56 1360 [Note] Shutting down plugin 'binlog'
2014-11-30 16:47:56 1360 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: Shutdown complete

2014-11-30 23:59:30 9108 [Note] Plugin 'FEDERATED' is disabled.
2014-11-30 23:59:31 2080 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-11-30 23:59:31 9108 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-11-30 23:59:31 9108 [Note] InnoDB: The InnoDB memory heap is disabled
2014-11-30 23:59:31 9108 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-11-30 23:59:31 9108 [Note] InnoDB: Memory barrier is not used
2014-11-30 23:59:31 9108 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-11-30 23:59:31 9108 [Note] InnoDB: Not using CPU crc32 instructions
2014-11-30 23:59:31 9108 [Note] InnoDB: Initializing buffer pool, size = 91.0M
2014-11-30 23:59:31 9108 [Note] InnoDB: Completed initialization of buffer pool
2014-11-30 23:59:31 9108 [Note] InnoDB: Highest supported file format is Barracuda.
2014-12-01 00:00:29 9108 [Note] InnoDB: 128 rollback segment(s) are active.
2014-12-01 00:00:29 9108 [Note] InnoDB: Waiting for purge to start
2014-12-01 00:00:29 9108 [Note] InnoDB: 5.6.21 started; log sequence number 8980090
2014-12-01 00:00:30 9108 [Note] Server hostname (bind-address): '*'; port: 3306
2014-12-01 00:00:30 9108 [Note] IPv6 is available.
2014-12-01 00:00:30 9108 [Note] - '::' resolves to '::';
2014-12-01 00:00:30 9108 [Note] Server socket created on IP: '::'.
2014-12-01 00:00:35 9108 [Note] Event Scheduler: Loaded 0 events
2014-12-01 00:00:35 9108 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: ready for connections.
Version: '5.6.21-log' socket: '' port: 3306 MySQL Community Server (GPL)
2014-12-01 00:00:41 9108 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: Normal shutdown

2014-12-01 00:00:41 9108 [Note] Giving 1 client threads a chance to die gracefully
2014-12-01 00:00:41 9108 [Note] Event Scheduler: Purging the queue. 0 events
2014-12-01 00:00:41 9108 [Note] Shutting down slave threads
2014-12-01 00:00:43 9108 [Note] Forcefully disconnecting 1 remaining clients
2014-12-01 00:00:43 9108 [Warning] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 2 user: 'root'

2014-12-01 00:00:43 9108 [Note] Binlog end
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'partition'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_METRICS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_CMPMEM'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_CMP'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_LOCKS'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'INNODB_TRX'
2014-12-01 00:00:43 9108 [Note] Shutting down plugin 'InnoDB'
2014-12-01 00:00:43 9108 [Note] InnoDB: FTS optimize thread exiting.
2014-12-01 00:00:43 9108 [Note] InnoDB: Starting shutdown...
2014-12-01 00:00:44 9108 [Note] InnoDB: Shutdown completed; log sequence number 8980100
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'BLACKHOLE'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'ARCHIVE'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'MRG_MYISAM'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'MyISAM'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'MEMORY'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'CSV'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'sha256_password'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'mysql_old_password'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'mysql_native_password'
2014-12-01 00:00:44 9108 [Note] Shutting down plugin 'binlog'
2014-12-01 00:00:44 9108 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: Shutdown complete
...全文
13449 32 打赏 收藏 转发到动态 举报
写回复
用AI写文章
32 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_39572232 2017-07-20
  • 打赏
  • 举报
回复
引用 4 楼 felixlau1234 的回复:
真不好意思啊,最近在料理其他东西去了,确实找到解决办法 1.首先,任务栏右边mysql图标右键action->manage monitored items打开 2.(具体记得不太清怎么操作,好像是)打开services页面,然后删掉service,打开instances页面,删掉instance,最后在services页面按add重新加回去原来的sevice 然后我的就可以了 关于为什么我不求甚解不想了解其中原因,因为我的需求只是掌握基本语句操作,我不想,没有时间,没有精力弄深入,所以,各位DBA或者工程师GG们轻拍,我连业余的都不是。
你好我想问问 有os的解决办法么?
qq_35841200 2016-08-10
  • 打赏
  • 举报
回复
任务栏右边mysql图标右键action->manage monitored items在哪
azyl99 2016-08-01
  • 打赏
  • 举报
回复
感谢楼主+1
菜鸟Lic 2016-07-27
  • 打赏
  • 举报
回复
解决了,楼主太棒了。
蓝鲸123 2016-07-22
  • 打赏
  • 举报
回复
解决了。。。。。。。
qq_32808309 2016-05-04
  • 打赏
  • 举报
回复
引用 4 楼 felixlau1234 的回复:
真不好意思啊,最近在料理其他东西去了,确实找到解决办法 1.首先,任务栏右边mysql图标右键action->manage monitored items打开 2.(具体记得不太清怎么操作,好像是)打开services页面,然后删掉service,打开instances页面,删掉instance,最后在services页面按add重新加回去原来的sevice 然后我的就可以了 关于为什么我不求甚解不想了解其中原因,因为我的需求只是掌握基本语句操作,我不想,没有时间,没有精力弄深入,所以,各位DBA或者工程师GG们轻拍,我连业余的都不是。
4的方法效果非常好,直接搞定。 谢谢分享!
一轮子 2016-05-03
  • 打赏
  • 举报
回复
引用 4 楼 felixlau1234 的回复:
真不好意思啊,最近在料理其他东西去了,确实找到解决办法 1.首先,任务栏右边mysql图标右键action->manage monitored items打开 2.(具体记得不太清怎么操作,好像是)打开services页面,然后删掉service,打开instances页面,删掉instance,最后在services页面按add重新加回去原来的sevice 然后我的就可以了 关于为什么我不求甚解不想了解其中原因,因为我的需求只是掌握基本语句操作,我不想,没有时间,没有精力弄深入,所以,各位DBA或者工程师GG们轻拍,我连业余的都不是。
解决问题!谢谢!
gikod 2016-04-22
  • 打赏
  • 举报
回复
应该是Windows service坏了,而mysql没有问题,去Windows服务器版应该有更深入的解答。 直接开一个命令行,执行<your mysql dir>\bin\mysqld.exe,应该就可以启动。
Jeson卡 2016-04-22
  • 打赏
  • 举报
回复
非常感谢!!!可惜看到的晚了。。。小白上次遇到这问题,结果删了数据库准备重新安装,然后又出问题,最后重装的系统,然后今天又出现了,用楼主的方法,数据库还是有个红色的提示,但是正常访问什么的都没有问题了
gikod 2016-04-22
  • 打赏
  • 举报
回复
引用 24 楼 gikod 的回复:
应该是Windows service坏了,而mysql没有问题,去Windows服务器版应该有更深入的解答。 直接开一个命令行,执行<your mysql dir>\bin\mysqld.exe,应该就可以启动。
直接运行会占用一个命令行窗口,如果想后台运行,在用下面的命令 cd <your mysql dir>\bin echo new ActiveXObject("WScript.Shell").run("mysqld.exe", 0 /* background */, false) > startup.js cscript startup.js 关闭mysqld用 mysqladmin -u root -p shutdown
  • 打赏
  • 举报
回复
非常感谢
qq_28225211 2016-02-08
  • 打赏
  • 举报
回复
应该是权限问题,按楼主的方法改了之后,mysql notifier改变状态时有个权限提示(选择拒绝时的错误提示和修改前的错误提示一样),在修改前没有提示。 然后我直接用管理员权限打开了mysql notifier,修改状态时不会有权限提示
  • 打赏
  • 举报
回复
同是mysql新手,楼主的做法解决了我的问题!顶起来!
AliXiaShu 2016-01-09
  • 打赏
  • 举报
回复
时至今日解决了我的问题
文修 2015-12-30
  • 打赏
  • 举报
回复
跪求楼主结贴给分
Hasting_Y 2015-12-22
  • 打赏
  • 举报
回复
太有用了~ 多谢楼主!!
ipanshi 2015-10-28
  • 打赏
  • 举报
回复
引用 15 楼 dpf594634178 的回复:
把Windows里边对应的mysql服务加到楼主说 [quote=引用 4 楼 felixlau1234 的回复:] 真不好意思啊,最近在料理其他东西去了,确实找到解决办法 1.首先,任务栏右边mysql图标右键action->manage monitored items打开 2.(具体记得不太清怎么操作,好像是)打开services页面,然后删掉service,打开instances页面,删掉instance,最后在services页面按add重新加回去原来的sevice 然后我的就可以了 关于为什么我不求甚解不想了解其中原因,因为我的需求只是掌握基本语句操作,我不想,没有时间,没有精力弄深入,所以,各位DBA或者工程师GG们轻拍,我连业余的都不是。
把Windows里边对应的mysql服务加到楼主说的service中就可以了,不知道是什么原理[/quote] 正好解决了这个问题
PS板砖 2015-08-07
  • 打赏
  • 举报
回复
把Windows里边对应的mysql服务加到楼主说
引用 4 楼 felixlau1234 的回复:
真不好意思啊,最近在料理其他东西去了,确实找到解决办法 1.首先,任务栏右边mysql图标右键action->manage monitored items打开 2.(具体记得不太清怎么操作,好像是)打开services页面,然后删掉service,打开instances页面,删掉instance,最后在services页面按add重新加回去原来的sevice 然后我的就可以了 关于为什么我不求甚解不想了解其中原因,因为我的需求只是掌握基本语句操作,我不想,没有时间,没有精力弄深入,所以,各位DBA或者工程师GG们轻拍,我连业余的都不是。
把Windows里边对应的mysql服务加到楼主说的service中就可以了,不知道是什么原理
JS357566880 2015-06-30
  • 打赏
  • 举报
回复
居然真的行了,撸主V5,谢谢
devil_ynmlml 2015-06-13
  • 打赏
  • 举报
回复
在 starting service 的时候 ,右键“我的电脑” → 点“管理” → “服务和应用程序” → “服务” → 在里面找到 “mysqlXX” → 右键 "属性" → 点击“登录”选项,登录方式选择 本地系统帐户
加载更多回复(12)

56,777

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧