smudgemouse
asked on
Cannot Start MySQL in Yosemite
sudo vi /Library/LaunchDaemons/com .mysql.mys ql.plist
produces the error:
ERROR! Manager of pid-file quit without updating file
Using Yosemite 10.10.5 migrated from another Mac where MySQL starts normally.
The com.mysql.mysql.plist file has the following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.mysql.mysqld</ string>
<key>ProgramArguments</key >
<array>
<string>/usr/local/mysql/b in/mysqld_ safe</stri ng>
<string>--user=mysql</stri ng>
</array>
</dict>
</plist>
Terminal commands run successfully:
sudo chown root:wheel /Library/LaunchDaemons/com .mysql.mys ql.plist
sudo chmod 644 /Library/LaunchDaemons/com .mysql.mys ql.plist
Then:
sudo launchctl load -w /Library/LaunchDaemons/com .mysql.mys ql.plist
returns the message:
/Library/LaunchDaemons/com .mysql.mys ql.plist: Operation already in progress
Our terminal competence level is very basic. Could somebody please help?
produces the error:
ERROR! Manager of pid-file quit without updating file
Using Yosemite 10.10.5 migrated from another Mac where MySQL starts normally.
The com.mysql.mysql.plist file has the following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.mysql.mysqld</
<key>ProgramArguments</key
<array>
<string>/usr/local/mysql/b
<string>--user=mysql</stri
</array>
</dict>
</plist>
Terminal commands run successfully:
sudo chown root:wheel /Library/LaunchDaemons/com
sudo chmod 644 /Library/LaunchDaemons/com
Then:
sudo launchctl load -w /Library/LaunchDaemons/com
returns the message:
/Library/LaunchDaemons/com
Our terminal competence level is very basic. Could somebody please help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.