From: Andrew Moore Date: October 9 2011 8:51am Subject: Re:Socket not found List-Archive: http://lists.mysql.com/mysql/225978 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd47d5af99c7f04aed9c630 --000e0cd47d5af99c7f04aed9c630 Content-Type: text/plain; charset=ISO-8859-1 Hey Peter, 2 options; Check the socket key-value in the my.cnf file under the client section. Explicitly tell mysqladmin what one to use with the relevant cmd line option. See the documentation for syntax. Hth Andrew On 9 Oct 2011 09:21, "Peter Schrock" wrote: > I just loaded and built three different versions of mysql and all three > versions have given me the same results. When trying to change the password > to root, this is what I get: > > ./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! > > Help please. > > Peter > --000e0cd47d5af99c7f04aed9c630--