2012-02-10 58 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的需要,幾步之遙。祝你好運。