Date |Thu, 2 Aug 2001 20:20:51 -0700
>From |[EMAIL PROTECTED]
Hello!
>>Description:
E> I cannot set the root password, or any password after installing from RPM. I have
installed the following RPM packages:
E> MySQL-3.23.40-1.i386.rpm
E> MySQL-client-3.23.40-1.i386.rpm
E> MySQL-shared-3.23.40-1.i386.rpm
>>How-To-Repeat:
E> this is where i am seeing the problem, immediately after a fresh RPM install.
E> [root@cadillac /root]# /usr/bin/mysqladmin -u root -p password 'new-password'
E> Enter password:
E> /usr/bin/mysqladmin: connect to server at 'localhost' failed
E> error: 'Access denied for user: 'root@localhost' (Using password: YES)'
E> [root@cadillac /root]#
>>Fix:
E> i am _really_ new to mysql, and have no idea. any help would be greatly
appreciated. thank you in advance.
No. You need to remove -p from this command line.
So "/usr/bin/mysqladmin -u root password 'new-password'" works like a dream -);
___________________________________________________________________
For technical support contracts, visit https://order.mysql.com/
This email is sponsored by SWSoft, http://www.asplinux.ru/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Grigory Bakunov <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB / SWSoft
/_/ /_/\_, /___/\___\_\___/
<___/ www.mysql.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