MYSQL Starting MySQL. ERROR! Manager of pid-file quit without updating file

源码编译过程一路顺利,但在启动时提示错误:

Starting MySQL. ERROR! Manager of pid-file quit without updating file.

解决方法: 
1.修改 my.cnf  (没有指定数据库文件目录) 
在[mysqld] 下添加 
datadir = /usr/local/mysql/var   #安装时定义的数据存放目录
问题解决

来源 http://paulfzm.iteye.com/blog/1192467

时间: 2024-08-10 19:18:57

MYSQL Starting MySQL. ERROR! Manager of pid-file quit without updating file的相关文章

lnmp1.1 转移mysql数据库的问题 MySQL: Starting MySQL….. ERROR! The server quit without updating PID file

1.安装前修改/etc/my.cnf,加入datadir         = /data/mysql/   再执行sed -i 's/skip-locking/skip-external-locking/g' /etc/my.cnf 之后的命令,将里面的给目录加权限修改为你新的目录2.安装后停止mysql,移动/usr/local/mysql/var/ 到新目录,修改/etc/my.cnf ,查找[mysqld]  ,在下面加入datadir         = /data/mysql/  ,给

MySQL: Starting MySQL….. ERROR! The server quit without updating PID file

文章来源:http://icesquare.com/wordpress/mysql-starting-mysql-error-the-server-quit-without-updating-pid-file/ 今天启动MySQL 遇见了这个问题,网上搜索,结果各种改文件,删除文件纯属坑爹:在上边的网站上发现了问题的解决方案~老外总结的真不错!拿过来自己学习一下 This step-by-step guide is mainly for FreeBSD, however the idea is

解决Linux下MySQL启动错误Starting MySQL.Manager of pid-file quit without updating file.[FAILED]

刚装完MySQL,启动时报如下错误: Starting MySQL.Manager of pid-file quit without updating file.[FAILED] 依次尝试了从谷歌找到的各种方法,发现只要执行如下MySQL初始化命令即可解决: /usr/local/mysql/bin/mysql_install_db --user=mysql 下面附上从谷歌找到的解决此问题的方法集锦,也许每个人遇到的问题的原因会不一样,经供参考: 一.查看报错日志 报错日志是我们解决问题的方向灯

[转]MySQL: Starting MySQL….. ERROR! The server quit without updating PID file

转自: http://icesquare.com/wordpress/mysql-starting-mysql-error-the-server-quit-without-updating-pid-file/ 他也是更新系统后出现的这个问题,我是更新之后出现的该问题,所以按照他的思路删掉配置文件就可以启动了,至于为什么会出现这种问题,回头有时间再仔细研究下. This step-by-step guide is mainly for FreeBSD, however the idea is th

MySQL启动错误Starting MySQL.Manager of pid-file quit without updating file.

a 缺少库文件libstdc++.so.5 yum install libstdc* b selinux    iptables c 有残留数据  mysql-bin.index d 数据目录权限/data/mysql   所有者要是mysql e /etc/my.cnf没有指定datadir f mysql进程还在 g skip-federated  需要注释掉 h 错误日志目录不存在 cd /usr/local/mysql/bin ./mysql_safe 会提示 错误日志在哪里   美哟的

ERROR 1 (HY000): Can't create/write to file '/tmp/#sql_909_0.MYI' (Errcode: 13)

mysql> desc tablename; ERROR 1 (HY000): Can't create/write to file '/tmp/#sql_909_0.MYI' (Errcode: 13) 两种解决办法:方法一:1.chmod 777 /tmp[[email protected] /]# chmod 777 /tmpchmod: 更改"/tmp" 的权限: 只读文件系统 --遇到这种情况,tmp权限无法更改. 2./etc/init.d/mysqld start

The server quit without updating PID file 报错

mysql.server start 报错:The server quit without updating PID file (/usr/local/var/mysql/zhangzhenxingdeMacBook-Pro.local.pid). 最后还是重新安装!!以前数据库内容丢失. I think one can end up in this position with older versions of mysql already installed. I had the same p

Starting MySQL. ERROR! The server quit without updating PID file

我在my.cnf中添加了一个log-bin=/data/docker/lisa/mysql/data/mysql-bin 重启mysql报错. [[email protected] data]# service mysql restart Shutting down MySQL.. SUCCESS! Starting MySQL. ERROR! The server quit without updating PID file (/data/docker/lisa/mysql/data//6e0

centos6.6下编译安装mysql5.6之后启动失败:Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).

今天在编译安装mysql5.6时候出现Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).,当时就心碎了,之前安装时候好好的,在网上搜索帮助方法,可是没有和我一样的,有的说我没有给mysqld赋权限,可是我赋予他权限了,试了一堆方法,最后心灰意冷,准备删除mysql重新安装,就在我执行:yum remove mysql mysql