From owner-freebsd-questions Sun Feb 10 8:14:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13407.mail.yahoo.com (web13407.mail.yahoo.com [216.136.175.65]) by hub.freebsd.org (Postfix) with SMTP id D57FE37B400 for ; Sun, 10 Feb 2002 08:14:40 -0800 (PST) Message-ID: <20020210161440.61093.qmail@web13407.mail.yahoo.com> Received: from [4.18.79.162] by web13407.mail.yahoo.com via HTTP; Sun, 10 Feb 2002 08:14:40 PST Date: Sun, 10 Feb 2002 08:14:40 -0800 (PST) From: Andrew Gould Subject: Re: mysqladmin for root user To: pirat sriyotha , questions@FreeBSD.ORG In-Reply-To: <20020210032901.16190.qmail@web14806.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- pirat sriyotha wrote: > hi sirs, > > apologize me for disturbing this list but i really > need your help. i've installed mysql323-server a few > minutes ago and restarted my 4.5-stable FreeBSD box. > > once i enter command mysqladmin -u root -p password > `newpassword', i got and error that says > > mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: 'root@localhost' > (Using password: YES)' > > i entered this command both from plain user and > super > user with the same error. > > anyone hints are appreciated. > > please cc to me too. > > with best regards, > psr Eliminate the -p in your command line: mysqladmin -uroot password "new_password" The -p prompts for an existing password; thus, the error message. Best of luck, Andrew Gould __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message