There should be no password for root@localhost initially.  Try

$mysqladmin -u root password 'thisIsMyNewPassword'

instead.  The password mysqladmin is asking for is the current password.
The one on the command line is the new one.  In your situation the current
password is nothing.

-Jeff Brewer

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Luis
Sent: Friday, March 09, 2001 3:14 PM
To: Ing. Alejandro Vazquez C.
Cc: Adrian D'Costa; [EMAIL PROTECTED]
Subject: Problem with Mysql


I read the manual plus look on the site. I been having trouble setting up a
password for root.
here's the message i get.

First I run this

$mysql_install_db

$mysqladmin -u root -p password 'newpassword'

Enter password:  < I enter the password same as above >

mysqladmin: connect to server at 'localhost' failed

error: 'Access denied for user: 'root@localhost' (Using password: YES)'

now can someone tell me what i'm doing wrong. I download the

MySQL-3.23.33-1.i386.rpm
MySQL-bench-3.23.33-1.i386.rpm
MySQL-client-3.23.33-1.i386.rpm
MySQL-devel-3.23.33-1.i386.rpm
MySQL-shared-3.23.33-1.i386.rpm


Thank you for the help

Luis


---------------------------------------------------------------------
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