控制台异常:
Starting MySQL....The server quit without updating PID file (/data2/mysql/SMT-TDB01.pid).[失败]
日志文件记录:
130121 11:52:47 mysqld_safe Starting mysqld daemon with databases from /data2/mysql
130121 11:52:47 [Note] Plugin 'FEDERATED' is disabled.
130121 11:52:47 InnoDB: The InnoDB memory heap is disabled
130121 11:52:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130121 11:52:47 InnoDB: Compressed tables use zlib 1.2.3
130121 11:52:47 InnoDB: Using Linux native AIO
/usr/sbin/mysqld: Can't create/write to file '/data2/tmp/ibeWc2qS' (Errcode: 2)
130121 11:52:47 InnoDB: Error: unable to create temporary file; errno: 2
130121 11:52:47 [ERROR] Plugin 'InnoDB' init function returned error.
130121 11:52:47 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130121 11:52:47 [ERROR] Unknown/unsupported storage engine: InnoDB
130121 11:52:47 [ERROR] Aborting
130121 11:52:47 [Note] /usr/sbin/mysqld: Shutdown complete
130121 11:52:47 mysqld_safe mysqld from pid file /data2/mysql/SMT-TDB01.pid ended
重点是红色部分,意思就是对'/data2/tmp/目录可能没有创建和写入的权限
解决方法
1,检查此目录是否存在,不存在则创建
2,对此文件添加 mysql访问的权限:chown -R mysql:mysql /data2/tmp
相关推荐
删除mysql的日志文件,重启mysql发现错误:Starting MySQL.Manager of pid-file quit without updating file.[FAILED] 网上有不少这个原因的解释,但是都不是我想说的。我要说的原因其实很白痴:data/mysql-bin....
CentOS安装mysql The server quit without updating PID file问题背景描述部署步骤问题来了网上解决办法汇总最终解决办法 背景描述 最近接到个任务在CentOS部署一套5.7的mysql服务,之前没有在linux上安装过myslq的...
The server quit without updating PID file ? 出现问题的可能性 1、可能是/usr/local/mysql/data/数据目录mysql用户没有权限(修改数据目录的权限) 解决方法 : 给予权限,执行 "chown -R mysql.mysql /usr/...
MySQL无法启动的解决办法 MySQL无法启动 在停止mysql之后,执行了一些操作(如修改主机名),重新启动 mysql,发现起不来。... The server quit without updating PID file (/disk/mysql/www.pid).
1.可能是/usr/local/mysql/data/rekfan.pid文件没有写的权限解决方法 :给予权限,执行 “chown -R mysql:mysql /var/data” “chmod -R 755 /usr/local/mysql/data” 然后重新启动mysqld! 2.可能进程里已经存在...
用df命令查了下,果然磁盘满了,因为当时分区采用系统默认,不知道为什么不能自动扩容!以后在处理这个问题!如图所示: 代码如下:[root@snsgou ~]# df文件系统 1K-块 已用 可用 已用% 挂载点/dev/mapper/vg_...
Linux下安装初始化完MySQL数据库之后,使用... The server quit without updating PID file (/data/mysql/AY14020816093477605eZ.pid). 重启mysql会抛出上面红色字体的错误。 上面只能看到mysql启动失败,具体
启动失败 重启服务器后–>重启应用服务(Confluence)–>报错,数据库连接失败(mysql设置了开机自启动)–>查看mysql数据库状态: ...MySQL server PID file could not be found![失败] Starting MySQL.............. ER
The server quit without updating PID file (/usr/local/var/mysql/fdipzonedeMacBook-Air.local.pid). 22:08:37 mysqld_safe Starting mysqld daemon with databases from /usr/local/var/mysql
问题故障: ... The server quit without updating PID file (/www/wdlinux/mysql/var/iZ2358oz5deZ.pid). 数据库error日志: 200719 22:07:43 InnoDB: Database was not shut down normally! InnoDB