Re: MySQL PRIVILEGES problem

From: Date: Mon, 23 Jul 2001 10:18:56 +0000
Subject: Re: MySQL PRIVILEGES problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59171@lists.php.net to get a copy of this message
Hi, u have to change the database first and then try to update. Plz do the following. shell> mysql -u root mysql mysql>use mysql; mysql> UPDATE user SET Password=PASSWORD('new_password') where user='root'; mysql> FLUSH PRIVILEGES; Regards -Balaji ----- Original Message ----- From: Manu Verhaegen To: php-general@lists.php.net Sent: Monday, July 23, 2001 3:19 PM Subject: [PHP] MySQL PRIVILEGES problem Dear all, I have the following problem : I want change te root password for mysql and we receive the following error message ERROR 1064: parse error near 'FLUSH PRIVILEGES' at line 1 I login to my MySQL server and type the following commands shell> mysql -u root mysql mysql> UPDATE user SET Password=PASSWORD('new_password') where mysql> user='root'; mysql> FLUSH PRIVILEGES; ERROR 1064: parse error near 'FLUSH PRIVILEGES' at line 1 thanks in advance.

The Information contained and transmitted by this E-MAIL is proprietary to Wipro Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at mailadmin@wipro.com.
« previous php.general (#59171) next »