[email protected]'; CREATE ROLE postgres=/ ...">

当前位置:网站首页>PostgreSQL基础命令教程:创建新用户admin来访问PostgreSQL

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

2022-06-27 03:36:00 学亮编程手记

实操

在这里插入图片描述

postgres=# CREATE USER admin with password '[email protected]';
CREATE ROLE
postgres=# grant all privileges on database postgres to admin;
GRANT

补充

在这里插入图片描述

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

原网站

版权声明
本文为[学亮编程手记]所创,转载请带上原文链接,感谢
https://zhangxueliang.blog.csdn.net/article/details/125460684