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:31] – 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 26: | Zeile 26: | ||
| ==== Task 2.1 ==== | ==== Task 2.1 ==== | ||
| - | **Create the User**: Create a user named // | + | **Create the User**: Create a user named // |
| - | CREATE USER ' | + | CREATE USER ' |
| ==== Task 2.2 ==== | ==== Task 2.2 ==== | ||
| Zeile 36: | Zeile 36: | ||
| The result set should look like: | The result set should look like: | ||
| - | |||
| - | {{: | ||
| ==== Task 2.3 ==== | ==== Task 2.3 ==== | ||
| Zeile 45: | Zeile 43: | ||
| ==== Task 2.4 ==== | ==== Task 2.4 ==== | ||
| - | **Rovoke | + | **Revoke |
| REVOKE CREATE, ALTER, DROP ON myDatabase.* FROM ' | REVOKE CREATE, ALTER, DROP ON myDatabase.* FROM ' | ||
| Zeile 54: | Zeile 52: | ||
| SHOW GRANTS FOR ' | SHOW GRANTS FOR ' | ||
| | | ||
| - | {{: | ||
| - | |||
| ==== Task 2.6 ==== | ==== Task 2.6 ==== | ||
| **Test the User’s Access**: Establish a new console connection to the database by using // | **Test the User’s Access**: Establish a new console connection to the database by using // | ||
| - | |||
| - | {{: | ||
| ==== Task 2.7 ==== | ==== Task 2.7 ==== | ||
| - | Finally, try to perform a CREATE TABLE or DROP TABLE operation. The attempt should result in a permission error als displayed in the image below. | + | Finally, try to perform a CREATE TABLE or DROP TABLE operation. The attempt should result in a permission error as displayed in the image below. |
| - | + | ||
| - | {{: | + | |
| ==== Task 2.8 ==== | ==== Task 2.8 ==== | ||
| - | **Delete the User (optional)**: | + | **Delete the User (optional)**: |
| - | + | ||
| - | {{: | + | |
| ===== Solution ===== | ===== Solution ===== | ||