List:General Discussion« Previous MessageNext Message »
From:Steve Edberg Date:July 8 2001 5:06pm
Subject:Re: Assigning New Users
View as plain text  
At 8:36 AM -0500 7/8/01, Mike<mickalo>Blezien wrote:
>Hi All,
>
>When assigning new Users to various databases, and access settings, 
>in order to
>have it take effect immediately, all that is needed is to do a FLUSH 
>PRIVILEGES
>or does the MySQL server need to be restarted??
>


If you use the GRANT statement to assign users/privileges, then you 
do not need to do anything else - effect is immediate.

If you edit the mysql.* tables (eg; user, db, host, etc.) directly 
(not recommended), you need to issue a FLUSH PRIVILEGES to activate 
your changes.

-steve

-- 
+------ Factoid: Of the 100 largest economies in the world, 51 are ------+
| Steve Edberg                           University of California, Davis |
| sbedberg@stripped                               Computer Consultant |
| http://aesric.ucdavis.edu/                  http://pgfsun.ucdavis.edu/ |
+--- corporations ------ http://www.ips-dc.org/reports/top200text.htm ---+
Thread
Assigning New UsersMike<mickalo>Blezien8 Jul
  • Re: Assigning New UsersSteve Edberg8 Jul