1 |
fox2mike 05/08/26 19:51:26 |
2 |
|
3 |
Modified: xml/htdocs/doc/en mysql-howto.xml |
4 |
Log: |
5 |
Typo fix, s/privlege/privilege/g. Thanks to rane for reporting. |
6 |
|
7 |
Revision Changes Path |
8 |
1.3 +11 -11 xml/htdocs/doc/en/mysql-howto.xml |
9 |
|
10 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-howto.xml?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
11 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-howto.xml?rev=1.3&content-type=text/plain&cvsroot=gentoo |
12 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-howto.xml.diff?r1=1.2&r2=1.3&cvsroot=gentoo |
13 |
|
14 |
Index: mysql-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-howto.xml,v |
17 |
retrieving revision 1.2 |
18 |
retrieving revision 1.3 |
19 |
diff -u -r1.2 -r1.3 |
20 |
--- mysql-howto.xml 25 Aug 2005 07:47:00 -0000 1.2 |
21 |
+++ mysql-howto.xml 26 Aug 2005 19:51:26 -0000 1.3 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-howto.xml,v 1.2 2005/08/25 07:47:00 fox2mike Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-howto.xml,v 1.3 2005/08/26 19:51:26 fox2mike Exp $ --> |
27 |
|
28 |
<guide link="/doc/en/mysql-howto.xml"> |
29 |
<title>MySQL Startup Guide</title> |
30 |
@@ -24,7 +24,7 @@ |
31 |
<license/> |
32 |
|
33 |
<version>1.1</version> |
34 |
-<date>2005-08-25</date> |
35 |
+<date>2005-08-27</date> |
36 |
|
37 |
<chapter> |
38 |
<title>Getting Started With MySQL</title> |
39 |
@@ -557,7 +557,7 @@ |
40 |
</p> |
41 |
|
42 |
<pre caption="GRANT Syntax"> |
43 |
-GRANT [privleges] ON database.* TO '[user]'@'[host]' IDENTIFIED BY '[password]'; |
44 |
+GRANT [privileges] ON database.* TO '[user]'@'[host]' IDENTIFIED BY '[password]'; |
45 |
</pre> |
46 |
|
47 |
<note> |
48 |
@@ -567,18 +567,18 @@ |
49 |
</note> |
50 |
|
51 |
<p> |
52 |
-First we have the privleges we wish to assign. With what we've learned so far, |
53 |
-here are some of the privleges you can set: |
54 |
+First we have the privileges we wish to assign. With what we've learned so far, |
55 |
+here are some of the privileges you can set: |
56 |
</p> |
57 |
|
58 |
<ul> |
59 |
- <li><c>ALL</c> - Gives the all privlege control for the database</li> |
60 |
+ <li><c>ALL</c> - Gives the all privilege control for the database</li> |
61 |
<li><c>CREATE</c> - Allows users to create tables</li> |
62 |
<li><c>SELECT</c> - Allows users to query tables</li> |
63 |
<li><c>INSERT</c> - Allows users to insert data into a table</li> |
64 |
<li><c>SHOW DATABASES</c> - Allows users to see a list of databases</li> |
65 |
- <li><c>USAGE</c> - User has no privleges</li> |
66 |
- <li><c>GRANT OPTION</c> - Allows users to grant privleges</li> |
67 |
+ <li><c>USAGE</c> - User has no privileges</li> |
68 |
+ <li><c>GRANT OPTION</c> - Allows users to grant privileges</li> |
69 |
</ul> |
70 |
|
71 |
<note> |
72 |
@@ -632,7 +632,7 @@ |
73 |
|
74 |
<p> |
75 |
We shall now attempt to login as the guest user. Currently, the guest user has |
76 |
-<c>SELECT</c> only privleges. This basically comes down to being able to search |
77 |
+<c>SELECT</c> only privileges. This basically comes down to being able to search |
78 |
and nothing more. Go ahead and login with the guest account. |
79 |
</p> |
80 |
|
81 |
@@ -759,14 +759,14 @@ |
82 |
</p> |
83 |
|
84 |
<pre caption="REVOKE Syntax"> |
85 |
-REVOKE [privleges] ON database.* FROM '[user]'@'[host]'; |
86 |
+REVOKE [privileges] ON database.* FROM '[user]'@'[host]'; |
87 |
</pre> |
88 |
|
89 |
<p> |
90 |
Options here are explained in the <c>GRANT</c> command section. In this section |
91 |
however, we're going to deny full access to a user. Let's say we find out the |
92 |
guest account is causing some problems security wise. We decide to revoke all |
93 |
-privleges. We login as root and do the needful. |
94 |
+privileges. We login as root and do the needful. |
95 |
</p> |
96 |
|
97 |
<pre caption="Revoking user permissions"> |
98 |
|
99 |
|
100 |
|
101 |
-- |
102 |
gentoo-doc-cvs@g.o mailing list |