On Wednesday, 3. July 2002 07:51, Page Works Web Solutions wrote:

Hi,
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer
>
> mysql> UPDATE user SET Password=PASSWORD(testpassword)
>     -> WHERE User='root';
> ERROR 1046: No Database Selected
> mysql>

1) select the database with "use mysql" before, or specify mysql.user as table

2) Quote testpassword: ... =password('testpassword') ....


Regards

Georg

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