Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
modul:m290:learningunits:lu06:aufgaben:a02 [2024/10/29 12:22] – [Task A6] vdemir | modul:m290:learningunits:lu06:aufgaben:a02 [2024/11/20 14:36] (aktuell) – cbolzern | ||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
===== Requirements | ===== Requirements | ||
* Work type: individual | * Work type: individual | ||
- | * Timeframe: | + | * Timeframe: |
* Means of aid: | * Means of aid: | ||
* only teaching materials, no websearch, no use of ai. | * only teaching materials, no websearch, no use of ai. | ||
Zeile 25: | Zeile 25: | ||
- Drop the newly created user finally | - Drop the newly created user finally | ||
- | ==== Task A1 ==== | + | ==== Task 2.1 ==== |
- | **Create the User**: Create a user named // | + | **Create the User**: Create a user named // |
- | CREATE USER ' | + | CREATE USER ' |
- | ==== Task A2 ==== | + | ==== Task 2.2 ==== |
** Overview of the current privileges**: | ** Overview of the current privileges**: | ||
Zeile 37: | Zeile 37: | ||
The result set should look like: | The result set should look like: | ||
- | {{: | + | ==== Task 2.3 ==== |
- | + | ||
- | ==== Task A3 ==== | + | |
**Grant Privileges Without Table Management**: | **Grant Privileges Without Table Management**: | ||
GRANT SELECT, INSERT, UPDATE, DELETE ON myDatabase.* TO ' | GRANT SELECT, INSERT, UPDATE, DELETE ON myDatabase.* TO ' | ||
- | ==== Task A4 ==== | + | ==== Task 2.4 ==== |
- | **Rovoke | + | **Revoke |
REVOKE CREATE, ALTER, DROP ON myDatabase.* FROM ' | REVOKE CREATE, ALTER, DROP ON myDatabase.* FROM ' | ||
- | ==== Tasc A5 ==== | + | ==== Tasc 2.5 ==== |
**View the User’s Privileges**: | **View the User’s Privileges**: | ||
SHOW GRANTS FOR ' | SHOW GRANTS FOR ' | ||
| | ||
- | {{:modul: | + | ==== Task 2.6 ==== |
+ | **Test the User’s Access**: Establish a new console connection to the database by using // | ||
+ | |||
+ | ==== Task 2.7 ==== | ||
- | ==== Task A6 ==== | + | Finally, |
- | **Test the User’s Access**: Establish a new console connection to the database by using // | + | |
- | ==== Task A7 ==== | + | ==== Task 2.8 ==== |
- | **Delete the User (optional)**: | + | **Delete the User (optional)**: |
===== Solution ===== | ===== Solution ===== |