mysql启动失败Starting MySQL.The server quit without updating PID file ([失败]ysqllnmp.pid)

在尝试启动MySQL时遇到错误:'Starting MySQL. The server quit without updating PID file ([失败]ysqllnmp.pid)'。检查日志发现是由于数据库未正常关闭导致的崩溃恢复过程,以及PID文件权限问题。通过删除/data/mysql中的内容并调整配置文件中log_file和buffer_pool_size的大小解决了问题。内存不足也可能导致此启动失败。
摘要由CSDN通过智能技术生成

mysql启动失败Starting MySQL.The server quit without updating PID file ([失败]ysqllnmp.pid)
mysql启动时候报Starting MySQL.The server quit without updating PID file ([失败]ysqllnmp.pid
一开始以为没有给/data/mysql的文件夹写入的权限,后来干脆给777的权限,但是启动还是报错,最后查看日志
InnoDB: the log sequence number in the ib_logfiles!
161126 17:30:58 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files…
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer…
161126 17:30:58 InnoDB: Waiting for the background threads to start
161126 17:30:59 InnoDB: 1.1.8 started; log sequence number 1595916
161126 17:30:59 [Note] Server hostname (bind-address): ‘0.0.0.0’; port: 3306
161126 17:30:59 [Note] - ‘0.0.0.0’ resolves to ‘0.0.0.0’;
161126 17:30:59 [Note

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值