mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
Update Database Privilege command for PostgreSQL
The updated command will make Netbox work with PostgreSQL 15.
This commit is contained in:
parent
9e09e46700
commit
cf06926ebb
@ -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:
|
Within the shell, enter the following commands to create the database and user (role), substituting your own value for the password:
|
||||||
|
|
||||||
```postgresql
|
```postgresql
|
||||||
CREATE DATABASE netbox;
|
|
||||||
CREATE USER netbox WITH PASSWORD 'J5brHrAXFLQSif0K';
|
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"
|
!!! danger "Use a strong password"
|
||||||
|
Loading…
Reference in New Issue
Block a user