clarification

This commit is contained in:
Marc Delisle
2002-12-07 14:03:16 +00:00
parent 044bf36a3e
commit eb8be6bc5c

View File

@@ -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 />
&nbsp;&nbsp;&nbsp;<tt>GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';</tt> &nbsp;&nbsp;&nbsp;<tt>GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';</tt>
<br /> <br />