[email protected] dmp]# /etc/init.d/mysqld start

Starting MySQL. ERROR! The server quit without updating PID file (/opt/mysql/data/15-144.pid).

2、查看mysql 日志

180625 16:08:17 mysqld_safe Starting mysqld daemon with databases from /opt/mysql/data

2018-06-25 16:08:18 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2018-06-25 16:08:18 0 [Note] /opt/mysql/bin/mysqld (mysqld 5.6.33) starting as process 22431 ...

2018-06-25 16:08:18 22431 [Note] Plugin ‘FEDERATED‘ is disabled.

2018-06-25 16:08:18 22431 [Note] InnoDB: Using atomics to ref count buffer pool pages

2018-06-25 16:08:18 22431 [Note] InnoDB: The InnoDB memory heap is disabled

2018-06-25 16:08:18 22431 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins

2018-06-25 16:08:18 22431 [Note] InnoDB: Memory barrier is not used

2018-06-25 16:08:18 22431 [Note] InnoDB: Compressed tables use zlib 1.2.3

2018-06-25 16:08:18 22431 [Note] InnoDB: Using Linux native AIO

2018-06-25 16:08:18 22431 [Note] InnoDB: Using CPU crc32 instructions

2018-06-25 16:08:18 22431 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2018-06-25 16:08:18 22431 [Note] InnoDB: Completed initialization of buffer pool

2018-06-25 16:08:18 22431 [Note] InnoDB: Highest supported file format is Barracuda.

2018-06-25 16:08:18 22431 [Note] InnoDB: Log scan progressed past the checkpoint lsn 281721748253

2018-06-25 16:08:18 22431 [Note] InnoDB: Database was not shutdown normally!

2018-06-25 16:08:18 22431 [Note] InnoDB: Starting crash recovery.

2018-06-25 16:08:18 22431 [Note] InnoDB: Reading tablespace information from the .ibd files...

2018-06-25 16:08:18 22431 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace zabbix/items_applications uses space ID: 994 at filepath: ./zabbix/items_applications.ibd. Cannot open tablespace dmp/app_model_reuse which uses space ID: 994 at filepath: ./dmp/app_model_reuse.ibd

2018-06-25 16:08:18 7fc2adb7f740 InnoDB: Operating system error number 2 in a file operation.

InnoDB: The error means the system cannot find the path specified.

InnoDB: If you are installing InnoDB, remember that you must create

InnoDB: directories yourself, InnoDB does not create them.

InnoDB: Error: could not open single-table tablespace file ./dmp/app_model_reuse.ibd

InnoDB: We do not continue the crash recovery, because the table may become

InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.

InnoDB: To fix the problem and start mysqld:

InnoDB: 1) If there is a permission problem in the file and mysqld cannot

InnoDB: open the file, you should modify the permissions.

InnoDB: 2) If the table is not needed, or you can restore it from a backup,

InnoDB: then you can remove the .ibd file, and InnoDB will do a normal

InnoDB: crash recovery and ignore that table.

InnoDB: 3) If the file system or the disk is broken, and you cannot remove

InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf

InnoDB: and force InnoDB to continue crash recovery here.

180625 16:08:18 mysqld_safe mysqld from pid file /opt/mysql/data/15-144.pid ended

3、解决方案

添加配置/etc/my.cnf

innodb_force_recovery =1

文件解决

原文:http://blog.51cto.com/13833333/2132541

mysql数据库未启动失败_mysql数据库启动失败相关推荐

  1. linux mysql 实战_Linux平台MySQL多实例项目实施_MySQL数据库基础与项目实战06

    Linux平台MySQL多实例项目实施_MySQL数据库基础与项目实战06 视频教程学习地址 Oracle/MySQL数据库学习专用QQ群:336282998.189070296 学完风哥本课程能熟悉 ...

  2. mysql数据库的打开失败_MySQL数据库启动失败解决

    重启服务器后-->重启应用服务(Confluence)-->报错,数据库连接失败(MySQL设置了开机自启动)-->查看MySQL数据库状态: [root@ www.linuxidc ...

  3. mysql数据库没启动命令_mysql数据库服务启动和停止命令介绍(转载)

    mysql数据库启动与停止我这里给大家介绍在windows系统与linux内核的各种系统中的操作命令,希望对大家会有所帮助哦. MySQL在windows.Linux的启动.停止的方法 一.windo ...

  4. docker mysql容器启动不_Mysql容器启动失败-解决方案

    在看问题之前首先熟悉几个命令 相关命令 1.docker attach 连接到正在运行中的容器: 命令:docker attach --sig-proxy=falsemynginx 2.docker ...

  5. mysql创建服务失败_mysql服务启动失败

    事情是这样的,我在linux系统下做mysql备份与还原实验.我先是进入mysql,创建一个数据库ds,然后在数据库建了一张innodb表stu,再往表里插入几条数据.因为是做实验只是在验证备份与还原 ...

  6. mysql数据库建表失败_mysql数据库文件太大导致建表失败,如何避免

    [求助]mysql数据库文件太大导致建表失败,如何处理? 目录下各文件大小如下: root /mbsc/mysql/data # ll total 120646812 -rw-rw---- 1 mys ...

  7. mysql数据库充值网站程序_MySQL数据库安装

    MySQL数据库安装 安装环境:Centos6.5下安装MySQL:采用yum形式安装 一.彻底卸载已安装的mysql 第一步:查询mysql安装情况 rpm -qa |grep mysql   // ...

  8. mysql黑窗口常用命令_mysql数据库常用命令

    1.MySQL常用命令 create database name; 创建数据库 use databasename; 选择数据库 drop database name 直接删除数据库,不提醒 show ...

  9. mysql数据库比对视频教程_MySQL数据库全学习实战视频教程(27讲 )

    一)mySQL数据库简介:MySQL属于关系型数据库,是当前最流行的关系型数据库管理系统之一,在WEB项目使用方面,MySQL是最好的 RDBMS应用软件. 二)本mySQL数据库视频教程目录如下:  ...

  10. mysql.server 文件是什么_mysql的启动脚本mysql.server及示例配置文件

    以MySQL-server-4.0.14-0.i3862881064151.rpm为例,放在/data目录下 cd /data rpm -ivh MySQL-server-4.0.14-0.i386. ...

最新文章

  1. Linux多线程实践(3) --线程属性
  2. 四周第四次课(1月5日) 6.1 压缩打包介绍 6.2 gzip压缩工具 6.3 bzip2压缩工具 6.4 xz压缩工具...
  3. LFS 安装笔记 (二)
  4. python中的json注意事项
  5. C++ inline variable
  6. 超声换能器的原理及设计_超声波焊接机焊接系统——超声波换能器、变幅杆、焊头的选择...
  7. 最后电话挂的才是爱你的
  8. se105模板,产品详情页去掉多余的review栏目。
  9. ACM学习历程—HDU1584 蜘蛛牌(动态规划 状态压缩 || 区间DP)
  10. Android UI 相关知识
  11. 在CSDN持续写博客半年之后,我的薪资涨了45%
  12. 3月24日服务器维护公告,梦幻西游3月24日更新了什么_梦幻西游3月24日维护及系统调整公告_游戏堡...
  13. 用origin画不同柱族柱状图
  14. 嵌入式研发人员核心竞争力分析
  15. vue音乐播放器笔记
  16. 切片软件 cura linux,Ubuntu系统入门教程-3D打印切片软件cura
  17. 加字邮票价格_SC2 “华东区生产图邮票”加字改值 价格收藏图片
  18. 暗斑怎么形成的_脸上出现暗斑的原因是什么?暗斑怎么形成的
  19. 如何统一设置或者修改Excel表格中图表样式
  20. HTML入门基础(1)

热门文章

  1. 【数理知识】《矩阵论》方保镕老师-第2章-\lambda 矩阵与 Jordan 标准形
  2. 1.2 边缘检测示例-深度学习第四课《卷积神经网络》-Stanford吴恩达教授
  3. 2.4 梯度下降法-深度学习-Stanford吴恩达教授
  4. ubuntu10.10+android 搭建Opencv
  5. ERROR: This virtual machine appears to be in use
  6. 【cisco下针对冗余链路故障备份的处理措施】
  7. ifconfig,netstat 命令找不到解決办法
  8. iOS -OC调用js页面
  9. iOS音频播放(一):概述
  10. CentOS7下用jdk1.7编译hadoop-2.7.1全过程详解