昨天用各种方式试验MYSQL的数据库备份与恢复操作,恢复过程中,MYSQL就无法启动了。

提示如下:

22:59:43  [mysql]     Attempting to start MySQL app...
22:59:43 [mysql] Status change detected: running
22:59:44 [mysql] Status change detected: stopped
22:59:44 [mysql] Error: MySQL shutdown unexpectedly.
22:59:44 [mysql] This may be due to a blocked port, missing dependencies,
22:59:44 [mysql] improper privileges, a crash, or a shutdown by another method.
22:59:44 [mysql] Press the Logs button to view error logs and check
22:59:44 [mysql] the Windows Event Viewer for more clues
22:59:44 [mysql] If you need more help, copy and post this
22:59:44 [mysql] entire log window on the forums

This may be due to a blocked port, missing dependencies, 首先我看了端口,3306端口并没有被占用。

网上看到一个运行批处理文件的解决办法,但是需要重启:

http://wenku.baidu.com/link?url=fqqupfW1yxGYGtw3tGZe9HvzQxrSb2zQ3wiOJAi01ncikuFJAE1LJqQv0J97AocA-trfWz_wpaJQfjDTxWTC4mSahput3mJMchK3BgFWlGa

我就X了,刚刚写了一大堆,结果提交后显示找不到服务器,,,,然后草稿箱里也没有,真是各种背

总之就是各种方法都试了,都无法解决,最后只能重新卸载重装解决的。

刚才将E:\xampp_new\mysql\data 数据库的文件替换了一下,替换后,mysql就无法启动了,终于找到了mysql无法启动的原因,就是因为替换data数据库文件造成的。

多次删除ibdata1、ib_logfile1、ib_logfile0 后,mysql才可以启动,第一次删除后,确实依然无法启动。

通过操作发现,使用直接复制、粘贴数据库文件的方法,对数据库进行恢复,是不可行的,会造成数据库无法启动,就算后面删除日志文件,数据库可以启动了,也是无法浏览数据库内的表文件的。

错误日志:

2014-11-25 23:57:55 4336 [Note] Plugin 'FEDERATED' is disabled.
2014-11-25 23:57:55 2720 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-25 23:57:55 4336 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-11-25 23:57:55 4336 [Note] InnoDB: The InnoDB memory heap is disabled
2014-11-25 23:57:55 4336 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-11-25 23:57:55 4336 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-11-25 23:57:55 4336 [Note] InnoDB: Not using CPU crc32 instructions
2014-11-25 23:57:55 4336 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2014-11-25 23:57:55 4336 [Note] InnoDB: Completed initialization of buffer pool
2014-11-25 23:57:55 4336 [Note] InnoDB: Highest supported file format is Barracuda.
2014-11-25 23:57:55 4336 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=1625987
2014-11-25 23:57:55 4336 [Warning] InnoDB: Starting to delete and rewrite log files.
2014-11-25 23:57:55 4336 [Note] InnoDB: Setting log file E:\xampp_new\mysql\data\ib_logfile101 size to 5 MB
2014-11-25 23:57:55 4336 [Note] InnoDB: Setting log file E:\xampp_new\mysql\data\ib_logfile1 size to 5 MB
2014-11-25 23:57:56 4336 [Note] InnoDB: Renaming log file E:\xampp_new\mysql\data\ib_logfile101 to E:\xampp_new\mysql\data\ib_logfile0
2014-11-25 23:57:56 4336 [Warning] InnoDB: New log files created, LSN=1625987
2014-11-25 23:57:56 4336 [Note] InnoDB: 128 rollback segment(s) are active.
2014-11-25 23:57:56 4336 [Note] InnoDB: Waiting for purge to start
2014-11-25 23:57:56 4336 [Note] InnoDB: 5.6.16 started; log sequence number 1625987
2014-11-25 23:57:56 4336 [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: d2275b21-74bb-11e4-8165-74d435fb4eb2.
2014-11-25 23:57:56 4336 [Note] Server hostname (bind-address): '*'; port: 3306
2014-11-25 23:57:56 4336 [Note] IPv6 is available.
2014-11-25 23:57:56 4336 [Note] - '::' resolves to '::';
2014-11-25 23:57:56 4336 [Note] Server socket created on IP: '::'.

XAMPP的MYSQL无法启动的更多相关文章

  1. XAMPP 的MYSQL无法启动

    最近在学习小程序,小程序的后台cms系统需要安装XAMPP软件,这个软件是个集成软件,里面有MySql 和 Apache 等 ,首先进入小程序后台时需要启动MySql 和 Apache Apache ...

  2. XAMPP中MySQL无法启动解决办法

    如图 问题出在mysql的路径上,其实报错已经讲得听清楚了 预期应该是这样 结果却是这样 所以解决办法当然就是修改这个路径,出现这个报错原因大多因为之前电脑装过mysql,所以电脑默认启动是原来的my ...

  3. Mac 当xampp里mysql无法启动的解决办法

    sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

  4. Xampp mysql无法启动的解决方案(转)

    如果出现mysql 无法启动表明在安装xampp 前已经安装了mysql,造成mysql服务无法启动. [mysql] MySQL Service detected with wrong path23 ...

  5. 关于xampp 集成开发包电脑重启mysql无法启动的问题

    关于xampp 集成开发包电脑重启mysql无法启动的问题. 在做php开发时,安装过xampp,也不知道是版本老了还是什么问题,总是出现当天晚上下班关机,第二天上班mysql不能启动,在网上查找些资 ...

  6. Xampp mysql无法启动的解决方案

    如果出现mysql 无法启动表明在安装xampp 前已经安装了mysql,造成mysql服务无法启动. 19:06:33  [mysql] MySQL Service detected with wr ...

  7. XAMPP 安装时 MySQL 无法启动,且提示端口占用。

    今天安装XAMPP时遇到了几个坑,忙活了一上午才搞定,写下来分享给同样遇坑的盆友们. MySQL 点击start 提示端口3306被占用,我改了端口号,又改了注册表,将注册表地址改为xampp中mys ...

  8. linux系统下使用xampp 丢失mysql root密码【xampp的初始密码为空】

    如果在ubuntu 下面 使用xampp这个集成开发环境,却忘记mysql密码. 注:刚安装好的xampp的Mysql初始密码是空... 找回密码的步骤如下: 1.停止mysql服务器 sudo /o ...

  9. mac下xampp的mysql无法自动启动

    mac下xampp的mysql无法自动启动,每次启动都要手动在终端里执行 sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start 自动启动 ...

随机推荐

  1. ViewPage 大圣归来 原生示例

    VP简介 android-support-v4.jar 是谷歌官方给我们提供的一个兼容低版本安卓设备的软件包,里面包囊了只有在安卓3.0以上可以使用的api.而ViewPage就是其中之一,利用它,我 ...

  2. VB中的Dictionary对象

    VB中的Dictionary对象 Dictionary对象不是VBA或Visual Basic实时语言的具体存在的部分,它是存在于Microsoft Scripting Runtime Library ...

  3. MaraDNS与DeadWood一起配置为本地机器提供小型化DNS服务

    因为工作测试需要,要在本机装一个环境,可以解析自己命名的域名,即域名->IP的映射服务.在网上找了下,都说是MaraDNS不错.也试了下,在本地配置是没有问题的.从官网上下载的是2-0-11.w ...

  4. CDN的全称是Content Delivery Network,即内容分发网络

    CDN的全称是Content Delivery Network,即内容分发网络 http://baike.baidu.com/link?url=Wd-IGGgslfJemdpuT3Y0BUi88RPQ ...

  5. 返回到上一页的html代码的几种写法

    关键词:返回上一页 html代码超链接返回上一页代码: <a href=”#” onClick=”javascript :history.back(-1);”>返回上一页</a> ...

  6. MySQL中的binlog相关命令和恢复技巧

    操作命令: 复制代码 代码如下: show binlog events in 'mysql-bin.000016' limit 10; reset master 删除所有的二进制日志 flush lo ...

  7. Swift - 39 - 枚举类型关联默认值

    //: Playground - noun: a place where people can play import UIKit enum Month: Int { // 这么定义, 后面的Feb, ...

  8. 关于Visual Studio中的TraceDebugging文件夹

    最近一段时间发现C盘莫名其妙的变小了,各种清理各种卸载还是没用,电脑慢的是在无法使用 .最后只能一个文件夹一个文件夹的找,最后针对“C:\Documents and Settings\All User ...

  9. C++程序设计教程学习(0)-引子

    回想一下从事C++相关开发工作已经有4年,主要从事基于MFC.Duilib等GUI框架开发进行windows应用程序开发,还涉及了一些开源的项目.但是真的谈起这门语言或多或少都会有些心虚,关于C++的 ...

  10. STL删除vector或list的方法及注意的问题

    删除vector中的元素 1.删除指定的所有对象 STL中remove()只是将待删除元素之后的元素移动到vector的前端,而不是删除.若要真正移除,需要搭配使用erase().例子: vector ...