From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 06:17:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B03F116A4CE for ; Tue, 30 Mar 2004 06:17:59 -0800 (PST) Received: from point1.weat.node.easybow.net (unknown [62.177.138.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A68A43D3F for ; Tue, 30 Mar 2004 06:17:59 -0800 (PST) (envelope-from apost@high-low.net) Received: from localhost (localhost [127.0.0.1]) by point1.weat.node.easybow.net (Postfix) with ESMTP id 47CCB8A0B0 for ; Tue, 30 Mar 2004 16:17:57 +0200 (CEST) Received: from point1.weat.node.easybow.net ([127.0.0.1])port 10024) with ESMTP id 34762-05 for ; Tue, 30 Mar 2004 16:17:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by point1.weat.node.easybow.net (Postfix) with SMTP id ED03F8A0DE for ; Tue, 30 Mar 2004 16:12:19 +0200 (CEST) Message-Id: <20040330141219.ED03F8A0DE@point1.weat.node.easybow.net> Date: Tue, 30 Mar 2004 16:12:19 +0200 (CEST) From: apost@high-low.net To: undisclosed-recipients: ; X-Mailman-Approved-At: Wed, 31 Mar 2004 05:02:26 -0800 Subject: mysqladmin won't work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 14:17:59 -0000 "#mysqladmin -u root -h localhost password "mysql" mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root at localhost' (Using password: NO)' # mysqladmin -h localhost password mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root at localhost' (Using password: NO)' I don't get it, whats happening? Btw im using putty to ssh into the server, could that be a cause?" ==> I'm pretty sure that putty is doing ok. In order to use the mysqladmin commands, you must make a successful authentication with one of the current active accounts. So things should be fine if you would run it like this: #mysqladmin -u root -h localhost password "mysql" -p This will prompt you for the old password and after giving that, it should work ok. Andre