@@ -27,8 +27,8 @@ required MongoDB :manual:`privilege action </reference/privilege-actions>`:
27
27
- MySQL Privilege
28
28
- MongoDB Privilege
29
29
30
- * - `FLUSH LOGS < https://dev.mysql.com/doc/refman/5.7/en/flush.html>`__
31
- - `RELOAD < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_reload>`__
30
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/flush.html">FLUSH LOGS</link></mono>`
31
+ - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_reload">RELOAD</link></mono>`
32
32
- Only available to the |bi-short|'s admin user specified by the
33
33
:option:`--mongo-username <mongosqld --mongo-username>` option or
34
34
the :setting:`mongodb.net.auth.username` setting.
@@ -57,11 +57,11 @@ required MongoDB :manual:`privilege action </reference/privilege-actions>`:
57
57
database specified by
58
58
:option:`--schemaSource <mongosqld --schemaSource>`
59
59
60
- * - `KILL < https://dev.mysql.com/doc/refman/5.7/en/kill.html>`__
61
- - - `PROCESS < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_process>`__
60
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/kill.html">KILL</link></mono>`
61
+ - - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_process">PROCESS</link></mono>`
62
62
privilege to view all threads
63
63
64
- - `SUPER < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_super>`__
64
+ - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_super">SUPER</link></mono>`
65
65
privilege to kill all threads and statements
66
66
67
67
- No privilege required to view and kill your own threads and
@@ -71,19 +71,19 @@ required MongoDB :manual:`privilege action </reference/privilege-actions>`:
71
71
72
72
- No privilege required to kill your own connection or query
73
73
74
- * - `ALTER TABLE < https://dev.mysql.com/doc/refman/5.7/en/alter-table.html>`__
75
- - `ALTER < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_alter>`__ ,
76
- `CREATE < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_create>`__ ,
77
- and `INSERT < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_insert>`__
74
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/alter-table.html">ALTER TABLE</link></mono>`
75
+ - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_alter">ALTER</link></mono>` ,
76
+ :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_create">CREATE</link></mono>` ,
77
+ and :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_insert">INSERT</link></mono>`
78
78
privileges for the table.
79
79
80
80
Renaming a table requires
81
- `ALTER < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_alter>`__
82
- and `DROP < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_drop>`__
81
+ :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_alter">ALTER</link></mono>`
82
+ and :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_drop">DROP</link></mono>`
83
83
on the old table, as well as
84
- `ALTER < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_alter>`__ ,
85
- `CREATE < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_create>`__ ,
86
- and `INSERT < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_insert>`__
84
+ :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_alter">ALTER</link></mono>` ,
85
+ :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_create">CREATE</link></mono>` ,
86
+ and :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_insert">INSERT</link></mono>`
87
87
on the new table.
88
88
- Depends on your
89
89
:ref:`sampling configuration <sampling-mode-chart>`:
@@ -103,14 +103,14 @@ required MongoDB :manual:`privilege action </reference/privilege-actions>`:
103
103
database specified by
104
104
:option:`--schemaSource <mongosqld --schemaSource>`.
105
105
106
- * - `SET (Variables) < https://dev.mysql.com/doc/refman/5.7/en/set-variable.html>`__
107
- - `SUPER < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_super>`__
106
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/set-variable.html">SET (Variables)</link></mono>`
107
+ - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_super">SUPER</link></mono>`
108
108
privilege is required to set global variables.
109
109
110
110
Setting a session variable generally does not require any
111
111
privilege, although there are exceptions that require the
112
- `SUPER < https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_super>`__
113
- privilege (such as `sql_log_bin < https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_sql_log_bin>`__ ).
112
+ :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_super">SUPER</link></mono>`
113
+ privilege (such as :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_sql_log_bin">sql_log_bin</link></mono>` ).
114
114
- Either the |bi-short|'s admin user, as specified by the
115
115
:option:`--mongo-username <mongosqld --mongo-username>` option or
116
116
the :setting:`mongodb.net.auth.username` setting, or any MongoDB
@@ -119,63 +119,63 @@ required MongoDB :manual:`privilege action </reference/privilege-actions>`:
119
119
120
120
No privilege required to set session variables.
121
121
122
- * - `SHOW CHARACTER SET < https://dev.mysql.com/doc/refman/5.7/en/show-character-set.html>`__
122
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-character-set.html">SHOW CHARACTER SET</link></mono>`
123
123
- No privilege required.
124
124
- No privilege required.
125
125
126
- * - `SHOW COLLATION < https://dev.mysql.com/doc/refman/5.7/en/show-collation.html>`__
126
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-collation.html">SHOW COLLATION</link></mono>`
127
127
- No privilege required.
128
128
- No privilege required.
129
129
130
- * - `SHOW COLUMNS < https://dev.mysql.com/doc/refman/5.7/en/show-columns.html>`__
130
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-columns.html">SHOW COLUMNS</link></mono>`
131
131
- Displays column information for each column where the user
132
132
has some privilege. Column information is not
133
133
displayed for columns where the user does not have some
134
134
privilege.
135
135
- :authaction:`find` on the proper collections.
136
136
137
- * - `SHOW CREATE DATABASE < https://dev.mysql.com/doc/refman/5.7/en/show-create-database.html>`__
137
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-create-database.html">SHOW CREATE DATABASE</link></mono>`
138
138
- No privilege required.
139
139
- :authaction:`find` on the proper database.
140
140
141
- * - `SHOW CREATE TABLE < https://dev.mysql.com/doc/refman/5.7/en/show-create-table.html>`__
141
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-create-table.html">SHOW CREATE TABLE</link></mono>`
142
142
- Some privilege for the table.
143
143
- :authaction:`find` on the proper database or collection.
144
144
145
- * - `SHOW {DATABASES | SCHEMAS} < https://dev.mysql.com/doc/refman/5.7/en/show-databases.html>`__
146
- - `SHOW DATABASES < https://dev.mysql.com/doc/refman/5.7/en/show-create-table.html>`__ privilege.
145
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-databases.html">SHOW {DATABASES | SCHEMAS}</link></mono>`
146
+ - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-create-table.html">SHOW DATABASES</link></mono>` privilege.
147
147
- :authaction:`find` on the proper database or collection.
148
148
149
- * - `SHOW {INDEX | INDEXES | KEYS} < https://dev.mysql.com/doc/refman/5.7/en/show-index.html>`__
149
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-index.html">SHOW {INDEX | INDEXES | KEYS}</link></mono>`
150
150
- This statement requires some privilege for any column in the table.
151
151
- :authaction:`find` on the proper collection.
152
152
153
- * - `SHOW PROCESSLIST < https://dev.mysql.com/doc/refman/5.7/en/show-processlist.html>`__
154
- - `PROCESS < https://dev.mysql.com/doc/refman/5.5/en/privileges-provided.html#priv_process>`__
153
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-processlist.html">SHOW PROCESSLIST</link></mono>`
154
+ - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.5/en/privileges-provided.html#priv_process">PROCESS</link></mono>`
155
155
privilege to view all processes.
156
156
157
157
No privilege required to view your own processes.
158
158
- :authaction:`inprog` to view all processes.
159
159
160
160
No privilege required to view your own processes.
161
161
162
- * - `SHOW STATUS < https://dev.mysql.com/doc/refman/5.7/en/show-status.html>`__
162
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-status.html">SHOW STATUS</link></mono>`
163
163
- No privilege required.
164
164
- No privilege required.
165
165
166
- * - `SHOW TABLES < https://dev.mysql.com/doc/refman/5.7/en/show-tables.html>`__
166
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-tables.html">SHOW TABLES</link></mono>`
167
167
- Lists non-temporary tables in a given database where the user has
168
168
some privilege.
169
169
170
170
If you do not have any privilege for a base table or view, it
171
171
does not show up in the output from
172
- `SHOW TABLES < https://dev.mysql.com/doc/refman/5.7/en/show-tables.html>`__ .
172
+ :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-tables.html">SHOW TABLES</link></mono>` .
173
173
- :authaction:`listCollections` on a database displays all tables
174
174
from that database.
175
175
176
176
:authaction:`find` on a collection only shows the tables from
177
177
that collection.
178
178
179
- * - `SHOW VARIABLES < https://dev.mysql.com/doc/refman/5.7/en/show-variables.html>`__
179
+ * - :xml:`<mono><link target=" https://dev.mysql.com/doc/refman/5.7/en/show-variables.html">SHOW VARIABLES</link></mono>`
180
180
- No privilege required.
181
181
- No privilege required.
0 commit comments