2012-02-10 49 views
0

收到这样的警告:MySQL的家酿警告:安装MySQL时m4宏被安装到 “共享/ aclocal会”

Warning: m4 macros were installed to "share/aclocal". 
Homebrew does not append "/usr/local/share/aclocal" 
to "/usr/share/aclocal/dirlist". If an autoconf script you use 
requires these m4 macros, you'll need to add this path manually. 

管理使用在安全模式下启动MySQL:

# cd . ; ./bin/mysqld_safe & 

然而,我通过尝试不能正常启动服务器:

# mysql.server start 
Starting MySQL 
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/robell.local.pid). 

还注意到该文件不存在:

# launchctl load -w /usr/local/Cellar/mysql/5.5.19/com.mysql.mysqld.plist 
launchctl: Couldn't stat("/usr/local/Cellar/mysql/5.5.19/com.mysql.mysqld.plist"): No such file or directory 
nothing found to load 

回答

0
brew info mysql 

将列出之前启动服务器由于权限的细微之处,以及如何自制从不使用sudo的需要,几步之遥。祝你好运。