Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
How to access database running for local profile in a shared environment?

I'm not the root of a linux shared server. I have installed postgres for my local profile (http://blog.endpoint.com/2013/06/installing-postgresql-without-root.html)

I'm running a python code on the same server to access that database.

What should I give my URL as in my python code: dbURL =postgres://postgres:root@localhost:5432/myDb

OR should I add export PATH=$HOME/postgres/bin/:$PATH in my .bashrc file

I checked from terminal, myDb is on localhost:5432 postgres server. Everything is working fine when I interact with my database from terminal.

Sorry, I'm not able to get why my code is not able to connect to this db. PS: Everything is fine from code side as well (was running perfectly on local machine)

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!