MySQL Forums
Forum List  »  Install & Repo

help with error 2002. Can't connect to local Mysql....
Posted by: Matt Mikulla
Date: September 19, 2004 05:08PM

Hello. I ran entropy's mysql removal script, then reinstalled mysql on my mac osx 10.3.5 machine. I get the 2002 error. This is my first database experience and it is not fun. I just want to get working!

Terminal code:

Last login: Sun Sep 19 18:28:41 on ttyp1
Welcome to Darwin!
[127:~] mattmiku% cd /usr/local/mysql
[127:/usr/local/mysql] mattmiku% sudo chown -R mysql data/
Password:
[127:/usr/local/mysql] mattmiku% sudo echo

[127:/usr/local/mysql] mattmiku% sudo ./bin/mysqld_safe &
[1] 2797
[127:/usr/local/mysql] mattmiku% Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/127.0.0.1.pid
040919 18:54:01 mysqld ended

/usr/local/mysql/bin/mysql test
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[1] + Done sudo ./bin/mysqld_safe
[127:/usr/local/mysql] mattmiku%

Options: ReplyQuote


Subject
Written By
Posted
help with error 2002. Can't connect to local Mysql....
September 19, 2004 05:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.