Bug #2850 Changing a User's Privileges doesn't take effect immediately

Submitted: 17 Feb 2004 16:52 Modified: 19 Feb 2004 11:33
Reporter: Harrison Fisk Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.0.1a OS:Windows (Windows)
Assigned to: Michael G. Zinner CPU Architecture:Any

[17 Feb 2004 16:52] Harrison Fisk
Description:
If you change a user's privileges in MySQL Administrator, then the user won't be affected immediately.

This also occurs if you add a new user, they won't be able to login immediately.

The problem is that it manipulates the underlying tables directly using INSERT/UPDATE/DELETE and doesn't do a FLUSH PRIVILEGES; afterwords.

How to repeat:
Add a new user.
Try to immediately login as them, it will fail.
Issue a flush privileges command.
Now you can login.

Suggested fix:
MySQL Administrator should FLUSH PRIVILEGES after changing user information.
[18 Feb 2004 10:42] Michael G. Zinner
Thanks for submitting the report.

The issue has been fixed. The fix will be available in the next release 1.0.2a.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.