MySQL Forums
Forum List  »  Install & Repo

Re: Going insane. help with install.
Posted by: Matt Mikulla
Date: September 17, 2004 05:38PM

O.k. I re-initialized the database (I think) using the directions at http://www.entropy.ch/software/macosx/mysql/ . I then went into the terminal and tried to start up the database, then test it.

When I tried to test it I recieved an error:

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


Her is all the terminal commands:

Last login: Fri Sep 17 18:51:31 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] 1208
[127:/usr/local/mysql] mattmiku% Starting mysqld daemon with databases from /usr/local/mysql/data
040917 19:30:16 mysqld ended

/usr/local/mysql/bin/mysql test
ERROR 2002 (HY000): 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
September 17, 2004 03:01PM
Re: Going insane. help with install.
September 17, 2004 05:38PM


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.