Monday, January 21, 2002, 11:46:19 AM, you wrote:
TI> I tried to set the root password in the mysql db;
TI> update user set Password='password' where User='root';
TI> So, it has set the passwords and then I made a
TI> flush privileges;
TI> I don't understand. What's wrong with this?
The correct statement to update root password is:
UPDATE USER SET password=password('your_password') WHERE user='root';
and then:
FLUSH PRIVILEGES;
See also about it: http://www.mysql.com/doc/P/a/Passwords.html
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ 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