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

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
Minor correction, in the section “How to Create and Delete a Postgres Tables”, the text is referring to MySQL, should read Postgresql…
I’m trying to connect to my Postgres database (hosted on DigitalOcean) from my Mac OSX machine. How can I ‘publish’ the Postgres install so anyone on the web can connect to it if they know the ip address/post and username/password? I’ve already tried setting the list_adresses property to *
listen_addresses = ‘*’
But it still refuses to connect.
Connection to Trueque - Production failed java.sql.SQLException: FATAL: no pg_hba.conf entry for host “201.222.115.2”, user “postgres”, database “foo_db”, SSL off at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:293) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125) at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22) at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:32) at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) in RemoteDriverImpl.connect(RemoteDriverImpl.java:27) at com.sun.proxy.$Proxy105.connect(Unknown Source) in LocalDataSource.getConnection(LocalDataSource.java:158)
@sergiotapia: Please see http://irwinj.blogspot.co.il/2010/07/no-pghbaconf-entry-for-host.html (specifically the last few lines).
for “createuser –pwprompt” it should be two – like this: “createuser -–pwprompt”
When i try su - postgres It prompts for a password. I tried my own password and ‘postgres’ and even leaving it blank but it brings Authentication failure what can i do.
I go it had to execute this command sudo -u postgres psql postgres and set the password using \password postgres
[RoR] if i use bundle install, do i still need to create database and roles by myself or let the bundler do it?
@superadmin: It depends on your rails app, I recommend consulting the documentation for more info on that.