PostgreSQL基础命令教程:创建新用户admin来访问PostgreSQL

实操

在这里插入图片描述

postgres=# CREATE USER admin with password 'Dameng@7777';
CREATE ROLE
postgres=# grant all privileges on database postgres to admin;
GRANT

补充

在这里插入图片描述

参考链接:https://blog.csdn.net/zhangzeyuaaa/article/details/77941039

猜你喜欢

转载自blog.csdn.net/a772304419/article/details/125460684