昨天用各种方式试验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. 批量升级BMC固件asu64、ipmitool

    需求:通过服务器远程管理IP批量升级IMM.UEFI固件 工具:asu64.ipmitool.iflash64.cdc_interface.sh 下载:http://pan.baidu.com/s/1 ...

  2. Nginx优化—配置优化

    完整配置如下所示: user nginx; #运行的用户 pid /var/run/nginx.pid; worker_processes auto; #定义了nginx对外提供web服务时的word ...

  3. Linux UDP严重丢包问题的解决

    测试系统在Linux上的性能发现丢包率极为严重,发210000条数据,丢包达110000之巨,丢包率超过50%.同等情形下Windows上测试,仅丢几条数据.形势严峻,必须解决.考虑可能是因为协议栈B ...

  4. AD域属性对照表

    查看文章 AD属性对照表(一)[AD域][属性] 2011年08月25日 星期四 19:36AD属性对照表家庭电话 :“常规”标签  姓 Sn                       Y 名 gi ...

  5. C#中yield用法

    yield 关键字向编译器指示它所在的方法是迭代器块.编译器生成一个类来实现迭代器块中表示的行为.在迭代器块中,yield 关键字与 return 关键字结合使用,向枚举器对象提供值.这是一个返回值, ...

  6. Windows下配置环境变量和需不需要重启问题

    http://blog.163.com/guomaolin_gavin/blog/static/19961830720121114929321/

  7. X-Y Problem

    X-Y Problem 对于X-Y Problem的意思如下: 1)有人想解决问题X2)他觉得Y可能是解决X问题的方法3)但是他不知道Y应该怎么做4)于是他去问别人Y应该怎么做? 简而言之,没有去问怎 ...

  8. android WIFI的一些属性

    package com.example.wifitest; import java.util.List; import android.content.Context; import android. ...

  9. Axure矩形边框重合边框变成双倍宽度解决办法

    选中两个矩形,菜单栏选择项目——项目设置——边界对齐(选择中心边界沿形状的边缘或者内边界对齐.将外边界对齐改为内边界对齐),即可去掉重合效果

  10. php 被抛弃使用的函数

    call_user_method()(使用 call_user_func() 替代)     call_user_method_array() (使用 call_user_func_array() 替 ...