It is asking for the current password, and there isn't one.
You should skip the -p until you have one set.

Jason Feingold wrote:
> 
> Hi All - I just set up MySQL for the first time and cannot seem to change
> the user 'root' password using mysqladmin. I must be geting the sytax wrong.
> Im typing 'bin/mysqladmin -u root -p password', then it prompts me for a
> password, i type one in, then it gives me an error as shown below:
> 
> [root@24-168-90-77 mysql]# bin/mysqladmin -u root -p password
> Enter password:
> bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root@localhost' (Using password: YES)'
> Not sure if i should be actually typing in the word 'password' or not, dont
> believe there is one set already since i just installed. Using binary for
> i386Linux on RH7.1, tared version 3.23.37. I sincerely appreciate any
> help.jason
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> ---------------------------------------------------------------------
> 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

Reply via email to