If you want to specify the password itself on the command line use
'--password' (double hyphen).  '-p' requests interactive password
prompt.

 - michael


On Thu, Apr 8, 2010 at 4:31 PM, Carsten Pedersen <cars...@bitbybit.dk> wrote:
> don't have a space between '-p' and 'password', i.e. -ppassword
>
> / Carsten
>
> alba.albetti skrev:
>>
>> I've just installed MySQL on Windows 2000.
>> I've opened the MS-DOS windows and I've written
>> >C:\Programs\MySQL\...\bin\mysqladmin -u root -p password mysql2010
>> After the enter the prompt says >Enter password:  and I've given <enter>
>> and I get
>>
>> mysqladmin: connect to server at 'localhost' failed
>> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
>>
>> After installing MySQL what do I have to do left?
>> Sorry my this is my firt time with MySQL
>>
>> Thanks!
>>
>>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=mdyk...@gmail.com
>
>



-- 
 - michael dykman
 - mdyk...@gmail.com

 May the Source be with you.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to