If you have just finished installing, then root has no current password
and you can leave out the -p altogether:
root@localhost bin]# ./mysqladmin -u root password 'new-password'
good luck
Richard Ward
>>> "Jay Paulson" <[EMAIL PROTECTED]> 01/16/02 12:57AM >>>
I'm trying to change the root password for mysql. This is the first
time
I've tried to change the password and I can't get it to work. Below is
the
error message I get:
[root@localhost bin]# ./mysqladmin -u root -p password 'new-password'
Enter password:
./mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password:
YES)'
I've looked at the manual and it doesn't say much that I've already
done.
I've also looked up the --skip-grant-tables but the only mysqld file I
have
to run is in the /etc/rc.d/init.d/ directory and it doesn't take
the --skip-grant-tables flag. So I'm at a lost at what to do next.
thanks.
----
--
Content-Type: text/plain;
Content-Disposition: attachment;
filename="disclaimer.txt"
.
----
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