Report this

What is the reason for this report?

I cannot create databases

Posted on April 30, 2014

Hello I try to create databases in postsandstone with django but one that returns me is this I wander

createdb frenteprueba createdb: could not connect to database postgres: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?

And in the comments he says that tape-worm that to put this but not me the password

sudo service postgresql start



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello. The context in this post is a little vague so it is hard to give an exact answer. You will find at the following link a simple set up guide that should help you. There are also questions and answers further down which could explain some of the issues you are having. <br> <br>Thanks. <br> <br>https://www.digitalocean.com/community/articles/how-to-install-and-use-postgresql-on-ubuntu-12-04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.