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.

By Lea Cards
My postgres databse keeps the value postgres for NAME, USER, PASSWORD even when I create new db and new user. It seems that no matter what I do, I cannot alter it.
I use django and an ubuntu droplet.
Steps to reproduce: I add new user, give it admin rights, ensure OpenSSH is open.
Logged as the new user and:
Log into a postgres session- `sudo -u postgres psql`
create new db: `CREATE DATABASE new_db;`
Create new user with a password `CREATE USER dbuser WITH PASSWORD 'dbpsw';`
Alter the roles and grant it all priviliges.
verify connection:
\c new_db
Yet, if I go the bash and retreive the values of the postgres database, Yet, my database stays the same:
NAME = postgres
Password = postgres
User = postgres
>>> DATABASES
{'default': {'ENGINE': 'django.db.backends.postgresql', 'NAME': 'postgres', 'USER': 'postgres', 'PASSWORD': 'postgres', 'HOST': 'localhost', 'PORT': 5432, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'CONN_HEALTH_CHECKS': False, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}}}
Any advice as how I can modify and enforce the new databse and user would be highly appreciated.
Aakash Singh
Aakash Singh
Frank Tufano
fullammo
4ae272398ee6445a9bf73f4cd632b5
eddie
Taha Aziz Ben Ali
Telmo Valverde
Alexandre Herlinvaux
52d4eff26a544eefb189e2005836b2