oneuptime/Docs/Database/read-only-db-user.sql

2 lines
97 B
MySQL
Raw Normal View History

2023-05-01 11:50:25 +00:00
CREATE ROLE readonlyuser WITH LOGIN PASSWORD '<password>'
GRANT pg_read_all_data TO readonlyuser;