1. Home
  2. Docs
  3. User Guide
  4. Databases
  5. PostgreSQL

PostgreSQL

Postgres Manager lets you create PostgreSQL databases and users, for applications that need PostgreSQL instead of MySQL (for example many Django, Ruby on Rails or Node.js projects).

Where to find it: Databases → Postgres Manager.

Note: PostgreSQL must be installed on the server by your hosting provider. If you see PostgreSQL Not available or PostgreSQL it is not runnning on this server, contact your provider.

The boxes at the top show how many PostgreSQL databases you have compared with your package limit.

Create a database

  1. Click Add new database.
  2. Enter the Database name. The panel shows the full name the database will get (Database name will be set as …) — it starts with your account name.
  3. Click Save.

Create a user and give access

  1. In the Database List, click Add user to this database next to the database.
  2. Enter a Username and a New password (twice), or generate a password with the key button.
  3. Choose the User role:
    • ReadWrite — the user can read and change data. Use this for your application.
    • ReadOnly — the user can only read data, for example for reporting tools.
  4. Click Save.

Use Manage user to change a user’s password or role, and Delete user to remove it. Delete database removes the database and all its data permanently.

Connection details

SettingValue
Hostlocalhost
Port5432
DatabaseThe full database name
User / passwordThe user you created

Common problems

MessageSolution
Database already exists / User already existsChoose another name.
Invalid database name / Invalid UsernameUse lower-case letters, numbers and underscores only.
Password do not matchType the same password twice.
Quota reachedYou reached the PostgreSQL database limit of your package.

Related

Was this article helpful to you? No Yes