MySQL Forums
Forum List  »  Newbie

Re: Uninstall MySQL on OS X
Posted by: Robert
Date: May 19, 2005 08:12AM

I am a complete novice and ran

$> cd /usr/local/mysql

$> sudo ./scripts/mysql_install_db

as you suggested and proceeded to follow the output instructions to grant root and local passwords


from /usr/local/mysql I ran

./bin/mysqladmin -u root password 'new-passord'

and received the following error message

./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

The server seems to be running, as it requests a password that I do not know (and did not set), when I call it. I do not beleive that it is OS X requesting the password, since I know these and they do not work--and the the GUI for MySQL in system preferences indicates that it is running. However I cannot locate /tmp/mysql.sock. Any suggestions? Thank you.

Robert

Options: ReplyQuote


Subject
Written By
Posted
April 16, 2005 10:12AM
April 17, 2005 01:39PM
April 17, 2005 03:37PM
April 19, 2005 07:39PM
May 01, 2005 12:44AM
Re: Uninstall MySQL on OS X
May 19, 2005 08:12AM
May 20, 2005 06:22AM
May 23, 2005 08:06AM


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.