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.
On 9 Oct 2011 09:21, "Peter Schrock" <peter.schrock@stripped> 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
> Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
> Help please.