use: mysqladmin -u root -p It will prompt you for the password
On Tue, 2002-11-05 at 10:03, Jack Chen wrote: > Dear all, > > When I ran the follwing command: > > >$ mysqladmin -u root password PASSWORD > mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: 'root@localhost' (Using password: NO)' > > Could you inform me why? > > Thanks, > > Jack > ++++++++++++++++++++++++++++++++++++++++++++++++ > Jack Chen, Stein Lab, Cold Spring Harbor Labs > 1 Bungtown Road, Cold Spring Harbor, NY, 11724 > Tel: 1 516 3676904; e-mail: [EMAIL PROTECTED] > ++++++++++++++++++++++++++++++++++++++++++++++++ > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php