Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR! The server quit without updating PID file #43

Closed
jay763190097 opened this issue Feb 21, 2017 · 4 comments
Closed

ERROR! The server quit without updating PID file #43

jay763190097 opened this issue Feb 21, 2017 · 4 comments

Comments

@jay763190097
Copy link

Starting MySQL.... ERROR! The server quit without updating PID file (/usr/local/mysql/data/centos6.5.pid).
试了几种方法都不成功

@fungo
Copy link
Collaborator

fungo commented Mar 13, 2017

麻烦提供下启动方式(具体的命令),和更多的错误信息上下文。

@liqingrikeiikyeong
Copy link

[root@libohan-node alisql]# cd support-files/
[root@libohan-node support-files]# ll
total 32
-rwxr-xr-x. 1 root root 1153 Mar 14 08:30 binary-configure
-rw-r--r--. 1 root root 773 Mar 14 08:28 magic
-rw-r--r--. 1 root root 1126 Mar 14 08:30 my-default.cnf
-rwxr-xr-x. 1 root root 1061 Mar 14 08:30 mysqld_multi.server
-rwxr-xr-x. 1 root root 869 Mar 14 08:30 mysql-log-rotate
-rwxr-xr-x. 1 root root 10850 Mar 14 08:30 mysql.server
[root@libohan-node support-files]# ./mysql.server start
Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/libohan-node.pid).
[root@libohan-node support-files]# ps -ef | grep mysql
root 41426 13366 0 09:01 pts/0 00:00:00 grep --color=auto mysql
[root@libohan-node support-files]# cat /var/lib/mysql/libohan-node.pid
cat: /var/lib/mysql/libohan-node.pid: No such file or directory

@fungo
Copy link
Collaborator

fungo commented Mar 14, 2017

这个是 mysql 的初始化和启动问题,参考下官方文档 Postinstallation Setup and Testing

@jay763190097
Copy link
Author

已经安装成功了,之前是看的这个教程Alisql源码编译安装,但是他这命令好像用户没有创建成功,授权什么的不好弄。

@xpchild xpchild closed this as completed Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants