-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments for Installing PostgreSQL without Root #819
Comments
Note that if all you want is to have a temporary PostgreSQL installation from source in your home directory, you can do that using peg in only 3 easy steps: create a working area, init and build. It manages details like compiling and making directories to hold source code, binaries, and a data directory. |
Hey! Thanks for the tutorial, worked like a charm :) Do you know if it is possible to connect from a php script to this local postgres installation? |
Thanks. This really helps and it's really useful. |
Worked like a charm, saved me a lot of time. Thanks. |
Thanks for the tutorial. It was Very helpful. |
I followed the steps and everything worked fine except for the last part, my system user was not created in the db:
and it won't let me create it:
since I don't have root privileges, and the user postgres does not exist in the system, I don't know in what other way I can create my role, any ideas? |
Hi, does it work using when adding the |
No, the postgres user was not created either so I get the same error:
|
It was my fault, incorrect postgres binaries (initdb, createuser...) were in my LD_LIBRARY_PATH, so they were trying to connect me to a faulty installation I guess, once I removed them and added the correct ones, I was able to connect to a db that already had my system user created. |
I am getting the error "Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? How can I resolve this? This happens when run postgres/bin/psql -U postgres. |
Comments for https://www.endpointdev.com/blog/2013/06/installing-postgresql-without-root/
By Szymon Lipiński
To enter a comment:
The text was updated successfully, but these errors were encountered: