Report this

What is the reason for this report?

Postgresql and rails 4

Posted on May 12, 2013

Hi I’ve noticed tutorials for setting up MySQL but nothing for PostgreSQL. Is it possible to set PG up on DO? Also I want to launch a Rails 4 app. Are there any special instructions for that? I’ve never done any sys admin.! Not sure about what I need to know or where to find it, just that I’m using pg and rails



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.

createuser: could not connect to database postgres: could not connect to server: No such file or directory <br>Is the server running locally and accepting connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”? <br> <br>This is the error which i get when i tried to createuser in postgres!

@i Is Postgresql running? sudo service postgresql status

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.