mac 启动mysql Error: Failure while executing; `/bin/launchctl bootstrap gui/501

 

Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users//Library/LaunchAgents/[email protected]` exited with 5.

homebrew 给的提示看不到具体消息

查看 [email protected]文件,能看到具体的启动命令





	KeepAlive
	
	Label
	[email protected]
	LimitLoadToSessionType
	
		Aqua
		Background
		LoginWindow
		StandardIO
		System
	
	ProgramArguments
	
		/usr/local/opt/[email protected]/bin/mysqld_safe
		--datadir=/usr/local/var/mysql
	
	RunAtLoad
	
	WorkingDirectory
	/usr/local/var/mysql

然后直接用/usr/local/opt/[email protected]/bin/mysqld_safe命令启动,看到具体报错信息,提示权限不够,发现有个文件夹用户组不对,改下用户组就好了

你可能感兴趣的:(macos,mysql,bootstrap)