mysql.server启动时出现PID错误? [英] PID error on mysql.server start?

查看:96
本文介绍了mysql.server启动时出现PID错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚尝试过使用Homebrew(在Mac OS X 10.6上)安装MySQL,但是我遇到了第一个障碍.尝试手动启动服务器(mysql.server start)时,出现以下错误:

I've just tried installing MySQL using homebrew (on Mac OS X 10.6), but I've run across an issue at the first hurdle. When trying to manually start the server (mysql.server start), I get the following error:

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

不幸的是,我不确定要检查哪些错误日志或配置文件,因为我以前从未以这种方式安装过MySQL.

Unfortunately I'm not sure of which error logs or configuration files to check, as I've never installed MySQL in this way before.

推荐答案

通过自制软件安装时,我遇到了同样的问题.确保运行以下命令(安装过程中列出了这些命令,但很容易错过):

I ran into this same problem when installing via homebrew. Make sure you run these commands (which are listed during install but easy to miss):

unset TMPDIR
mysql_install_db

这篇关于mysql.server启动时出现PID错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆