I cannot create databases

Posted April 30, 2014 2.3k views
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

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.

Submit an Answer
1 answer
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.

by Etel Sverdlov
Here we give a quick guide to installing and using PostgreSQL on Ubuntu 12.04.