From cf06926ebb828d3fc9b54c52f5fbca13fa5b4c84 Mon Sep 17 00:00:00 2001 From: Navjot Singh <110228+navjotjsingh@users.noreply.github.com> Date: Wed, 18 Jan 2023 02:02:10 +0530 Subject: [PATCH] Update Database Privilege command for PostgreSQL The updated command will make Netbox work with PostgreSQL 15. --- docs/installation/1-postgresql.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation/1-postgresql.md b/docs/installation/1-postgresql.md index 583a4f3e9..820abdfe1 100644 --- a/docs/installation/1-postgresql.md +++ b/docs/installation/1-postgresql.md @@ -52,9 +52,9 @@ sudo -u postgres psql Within the shell, enter the following commands to create the database and user (role), substituting your own value for the password: ```postgresql -CREATE DATABASE netbox; CREATE USER netbox WITH PASSWORD 'J5brHrAXFLQSif0K'; -GRANT ALL PRIVILEGES ON DATABASE netbox TO netbox; +CREATE DATABASE netbox; +ALTER DATABASE netbox OWNER TO netbox; ``` !!! danger "Use a strong password"