By default, only the user who creates the database has access to the database. This
user is an Administrator and must give other users access to the
database.
About this task
You can give existing Cloud Pak for Data users one of the following roles on an
integrated Informix database:
| Role |
Description |
| Admin |
This role can:
- Access to all of the features in the database console
- Give other users access to the database
|
| User |
This role can:
- Create tables
- Use their own tables
- Give other users access to their tables
|
Procedure
To give a user access to an integrated database:
Procedure
-
Sign in to the Cloud Pak for Data web client.
-
From the navigation, select Services> Instances.
-
Open the actions menu for the database that you want to manage, and select Manage
Access.
-
Click Add users.
-
Select the user and specify the appropriate role for the user.
-
Click OK.
Note:
You must not use the user name in4mix because this is the name of the instance owner in the
private-server installation. You should not use the user name admin, if possible. If you are having
a user admin you will need to copy its password into the Informix authentication secrets by using
the steps:
- Open the project in which you installed your Informix service: Home → Projects → Name of your
project.
- Open the “Secrets” in the “Inventory” pane of the project page.
-
Open the informix-<crid>-admin-cpdauth secret.
The <crid> is the numerical part of the CR Name informix-1234...
- Copy the password by clicking on the “Copy to clipboard” icon.
- Go back to the secrets page.
- Open the informix-<crid>-auth secret.
- Select “Edit Secret” action from the “Action” drop-down.
- Enter the copied password into the apppassword key.
- Save the change.
What to do next
After a user has access to the database, they can work with the database. For more information,
see Working with IBM® Informix Enterprise
Edition databases.