|
Hi, I recently created a new environment and am attempting to connect with DigitalOcean6. We followed the instructions from this guide under section (b) "Building a Database." However, when I try to create a connection pool, it seems there is no connection between the database and Warwulf. I modified the hyesol_newdb-database.yaml file: But when I run: it returns: Thank you! |
Replies: 1 comment
|
The settings module was refactored in the last year, so the yaml will look slightly different. The docs have the updated versions, so you might want to go back through them! And as always, let me know where docs could be cleaned up and improved Here is your setup (the old way to configure a database): # Inside the file `hyesol_newdb-database.yaml`
default:
ENGINE: django.db.backends.postgresql
HOST: ****
NAME: simmate01
USER: ****
PASSWORD: ****
PORT: ****
OPTIONS:
sslmode: requireAnd the new way to configure the database: # Inside the file `hyesol_newdb-settings.yaml`
database:
engine: django.db.backends.postgresql
host: ****
name: simmate01
user: ****
password: ****
port: ****
options:
sslmode: requireThe differences are:
Try playing around with the command |
The settings module was refactored in the last year, so the yaml will look slightly different. The docs have the updated versions, so you might want to go back through them! And as always, let me know where docs could be cleaned up and improved
Here is your setup (the old way to configure a database):
And the new way to configure the database: