mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update users.md
This commit is contained in:
parent
afd188f29d
commit
1b703a4c7c
@ -1,3 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
(/img/panel/v2/databases_usrpw.png
|
||||||
|
(
|
||||||
|
(
|
||||||
|
(/img/panel/v2/databases_new_user.png
|
||||||
---
|
---
|
||||||
sidebar_position: 2
|
sidebar_position: 2
|
||||||
---
|
---
|
||||||
@ -20,19 +26,19 @@ MySQL users are essential for controlling who can access and interact with your
|
|||||||
|
|
||||||
To create a new database user, click on the "New User" button and fill in the name and password for the new user.
|
To create a new database user, click on the "New User" button and fill in the name and password for the new user.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Assign a User to a Database
|
## Assign a User to a Database
|
||||||
|
|
||||||
For a MySQL user to be allowed to connect to a database, they need to be added (assigned) to that database. Assigning a user will grant them all privileges over the database. To assign a user to a specific database, click on the "Assign to Database" button and select a username and database.
|
For a MySQL user to be allowed to connect to a database, they need to be added (assigned) to that database. Assigning a user will grant them all privileges over the database. To assign a user to a specific database, click on the "Assign to Database" button and select a username and database.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Remove a User from a Database
|
## Remove a User from a Database
|
||||||
|
|
||||||
To remove a user from a database, simply click on the "Remove from Database" button, and in the new modal, select a username to be removed from a database.
|
To remove a user from a database, simply click on the "Remove User from Database" button, and in the new modal, select a username to be removed from a database.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Removing a user will immediately remove all permissions for that user to the database and is useful when you want to temporarily disable a user's access to a database without actually deleting the user.
|
Removing a user will immediately remove all permissions for that user to the database and is useful when you want to temporarily disable a user's access to a database without actually deleting the user.
|
||||||
|
|
||||||
@ -40,13 +46,13 @@ Removing a user will immediately remove all permissions for that user to the dat
|
|||||||
|
|
||||||
If you need to change a user's password, simply click on the "Change Password" button next to that user. A modal will appear, and you can insert the new password in the field, then click on the "Change Password" button to save the new password.
|
If you need to change a user's password, simply click on the "Change Password" button next to that user. A modal will appear, and you can insert the new password in the field, then click on the "Change Password" button to save the new password.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Delete User
|
## Delete User
|
||||||
|
|
||||||
To delete a MySQL user, click on the delete button next to the user in the Users table:
|
To delete a MySQL user, click on the delete button next to the user in the Users table and then click confirm on the same button:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
:::danger
|
:::danger
|
||||||
⚠️ Deleting a MySQL user will immediately remove that user and revoke all privileges to databases.
|
⚠️ Deleting a MySQL user will immediately remove that user and revoke all privileges to databases.
|
||||||
|
Loading…
Reference in New Issue
Block a user