Quantcast
Viewing all articles
Browse latest Browse all 7239

Trouble starting MySQL on Mac OS X Unix system (no replies)

I'm teaching myself PHP and MySQL and have installed everything needed to run MySQL. I installed it a few weeks ago, and was able to get it working and entered a few tables via the terminal and php script. I left it alone for a few weeks, and now I tried to open up MySQL and here are the problems I get:

1) I type in /usr/local/mysql/bin/mysql -u root
this used to open mysql up and allow me to start creating databases. Now it says: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)

2) I didn't know what that meant, but I went and checked the status in my system preferences MySQL tab. It says the MySQL Server is Stopped. So I clicked "Start MySQL Server". It does not start, it stays stopped. I also have tried starting it directly in the terminal with:

sudo /usr/local/mysql/support-files/mysql.server start

It displays "Starting MySQL...." then displays: "ERROR! Manager of pid-file quit without updating file."


I haven't changed anything since the last time that I used it, the only thing I can think of is I installed the latest OS X system update. I'm new to all this, so I don't know what much of the technical syntax means at all, so try not to overwhelm me with technical stuff without explaining it as you go along.

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>