Error Connecting to MySQL Server: DYO DB Website PHP & MySQL

I am using a Mac OSX apache server and a UNIX shell.

First I start my server by typing: sudo /usr/local/mysql/bin/mysqld_safe
and in return I get this…

110325 00:45:32 mysqld_safe Logging to ‘/usr/local/mysql/data/machine.local.err’.
110325 00:45:32 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
110325 00:47:12 mysqld_safe mysqld from pid file /usr/local/mysql/data/machine.local.pid ended

Then I type: mysqladmin status
This is the message I get in return…

mysqladmin: connect to server at ‘localhost’ failed
error: ‘Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)’
Check that mysqld is running and that the socket: ‘/tmp/mysql.sock’ exists!

The second message is because the server isn’t starting, so that’s easy.

Now, the first part there could be a lot of problems. If this is something you just installed, I’d recommend uninstalling and reinstalling it.

If you can’t do that, have you changed anything since you last ran it? Are you very low on hard disk space?

It did work at one point. I don’t believe I changed anything, although I went back and reviewed everything I did and I might of accidentally done something I shouldn’t have…

How do I uninstall everything?
Thanks!!