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" <peter.schr...@gmail.com> 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
>

Reply via email to