To use a database, you will need to create it. Only PostgreSQL users with privileges to access a database can read or write to that database. How to create and add a user to the PostgreSQL database
Step 1
Logged into your cPanel in the “DATABASE” tab, locate the item “PostgreSQL Database”.
Step 2
In the “Create a new database” option you must define a name for your database, then click to create and a success message should be displayed on your screen.
The created database should be listed below under “Current databases”.
Step 3
Now we will create a user for this database, fill in the fields with the necessary data and click on "Create user".
Current users are listed at the bottom of the page.
Step 4
Now let's add this user to the database we created. You must select the user you want, and also choose which bank to add if you have more than one.
Finally click “Send” and the success message should be displayed on your screen.
Hope this helps !