- Log in to your Hostginger hosting account.
- Replace 'dbname' with the name of the database, and 'username' with the database username with the following command, at the command line: psql dbname username
- Type the password of the 'database user' . After typing the correct password, the psql prompt appears.
- PostgreSQL database is now accessible. You can run SQL queries at the database.