Cannot Start MySQL in Yosemite

sudo vi /Library/LaunchDaemons/com.mysql.mysql.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/bin/mysqld_safe</string>  
   <string>--user=mysql</string>  
   </array>  
  </dict>  
</plist>

Terminal commands run successfully:
sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist

Then:
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
returns the message:
/Library/LaunchDaemons/com.mysql.mysql.plist: Operation already in progress

Our terminal competence level is very basic. Could somebody please help?
smudgemouseAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
Normally one exports database on one server and imports into other. Copying "program and data" does not necessarily work.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.