Admin rights allow a user to create logical databases and users. These right do not override the permissions configured for the logical databases. Logical database permissions must be set up in the Permissions tab.
How to add users to a PostgreSQL or MySQL Database Instance
Users can connect to a database and access its data. Each one has a different set of customizable permissions.
Before you startLink to this anchor
To complete the actions presented below, you must have:
- A Scaleway account logged into theconsole
- Owner status orIAM permissions allowing you to perform actions in the intended Organization
- APostgreSQL or MySQL Database Instance
Click PostgreSQL and MySQL under Databases on the side menu. A list of your Database Instances displays.
Select the geographical region of the Instance you want to manage from the drop-down.
Click the database name or «See more Icon»> More info to access the Database Instance information page.
Go to the Users tab. A list of users displays. If it is the first time you create a user, your list will display the user you set up during the creation of your Database Instance.
Click + Create user to create a new user, if you wish to.
Click «Toogle Icon»to grant admin rights to the user.
NoteEnter a username and password.
NoteOptionally, you can configure the appropriate permissions according to the user. Three types of permissions are available:
- None: No access to the database,
- Read: Allow users to read tables and fields in a database,
- Write: Allow users to write content in databases. You can select the permission type in the Permissions tab.
Click Create user to confirm.
Once the user is created, it is displayed in the user list.
To update the password, the permissions or delete the user, click «See more Icon»to display the respective options.