clarification
This commit is contained in:
@@ -332,9 +332,12 @@
|
|||||||
<br />
|
<br />
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Then each of the <i>true</i> users should be granted of a set of
|
Then each of the <i>true</i> users should be granted a set of
|
||||||
privileges on a set of particular databases but shouldn't have any
|
privileges on a set of particular databases. Normally you shouldn't
|
||||||
global privileges. For example, to grant the user <i>real_user</i> with
|
give global privileges to an ordinary user, unless you understand
|
||||||
|
the impact of those privileges (for example, you are creating
|
||||||
|
a superuser).<br />
|
||||||
|
For example, to grant the user <i>real_user</i> with
|
||||||
all privileges on the database <i>user_base</i>:<br />
|
all privileges on the database <i>user_base</i>:<br />
|
||||||
<tt>GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';</tt>
|
<tt>GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';</tt>
|
||||||
<br />
|
<br />
|
||||||
|
Reference in New Issue
Block a user