昨天用各种方式试验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. Windows Native API

    http://en.wikipedia.org/wiki/Native_API Windows 的原生 API 函数通常在系统启动时(这里其他 Windows 组件还不可用).kernel32.dll ...

  2. toString结果

    String[] str = new String[] { "a", "b", "c" }; System.out.println(str) ...

  3. c - 统计字符串"字母,空格,数字,其他字符"的个数和行数.

    #include <stdio.h> #include <ctype.h> using namespace std; /* 题目:输入一行字符,分别统计出其中英文字母.空格.数 ...

  4. spring 配置触发器 (类似于定时任务)

    为什么会看这个? 发现项目中有的service中的方法没有地方调用.经查,发现在web.xml中加载的spring的配置文件中配置了这个方法, 经查这种方式是触发器,会定时执行,只需要配置一下.可以设 ...

  5. ie6,7下js动态加载图片不显示错误

    ie6,7下js动态加载图片不显示错误 先描述一下出现这种匪夷所思bug的背景: 我在页面加载的时候加载一堆小缩略图,<a href="javascript:void(0);" ...

  6. image控件读取数据库二进制图片

    DataGridShowImage.aspx   <%@ Page language="c#" debug="true" Codebehind=" ...

  7. Microsoft Anti-Cross Site Scripting Library V4.2 下载地址

    概述 微软反跨站脚本库V4.2(AntiXSS V4.2)是一种编码库,旨在帮助开发人员保护他们的ASP.NET基于Web的应用程序免受XSS攻击.它不同于编码库,因为它使用的白名单技术-有时也被称为 ...

  8. js解决网页无法复制文字的问题

    碰到有些网站,站长禁止了右键,或者用其它方法不让复制网页的文字,弄的好烦人啊,虽然这是小把戏,但多多少少造成了一些不方便,前几天发现这个解决不能复制问题的小方法,一行代码即搞定,就是下面这行: jav ...

  9. nginx 参数记录

    log_format custom '$remote_addr - $remote_user [$time_local] ' '"$request" $status $reques ...

  10. oldboy第二天学习

    一.上课体验及感受 第二天上课了,从循环到队列,感觉都可以接受,但是当循环遇到队列之后感觉脑袋就有点不够用了.不知道是因为萌新的问题.每个人都这样,还是个人能力不行.总而言之加油努力吧!! 二.循环, ...