当前位置:网站首页>PostgreSQL modifies the password of the database user
PostgreSQL modifies the password of the database user
2022-07-06 21:39:00 【ac.char】
pg_hba.conf
, Authentication set to md5
Authentication connection appears :
postgresql FATAL: password authentication failed for user "postgres"
edit pg_hba.conf
, take md5
The certification is modified to trust
authentication , Exit saving after editing
perform pg_ctl reload
Loading takes effect
psql
Connect , use alter role
Change Password
Execute the following command
alter role postgres with password ' New password ';
View the current postgresql How many users , And the corresponding password
select rolname,rolpassword from pg_authid;
sign out psql
edit pg_hba.conf
, take turst
The certification is modified to md5
authentication , Exit saving after editing
perform pg_ctl reload
Loading takes effect
边栏推荐
- 麦趣尔砸了小众奶招牌
- ICML 2022 | flowformer: task generic linear complexity transformer
- 50个常用的Numpy函数解释,参数和使用示例
- 愛可可AI前沿推介(7.6)
- 袁小林:安全不只是标准,更是沃尔沃不变的信仰和追求
- numpy 下载安装
- [Li Kou brushing questions] one dimensional dynamic planning record (53 change exchanges, 300 longest increasing subsequence, 53 largest subarray and)
- guava:Collections. The collection created by unmodifiablexxx is not immutable
- JS get array subscript through array content
- JS operation DOM element (I) -- six ways to obtain DOM nodes
猜你喜欢
Numpy download and installation
Leetcode topic [array] -118 Yang Hui triangle
Dialogue with Jia Yangqing, vice president of Alibaba: pursuing a big model is not a bad thing
抖音將推獨立種草App“可頌”,字節忘不掉小紅書?
跨分片方案 总结
guava:Collections. The collection created by unmodifiablexxx is not immutable
快讯:飞书玩家大会线上举行;微信支付推出“教培服务工具箱”
Shake Sound poussera l'application indépendante de plantation d'herbe "louable", les octets ne peuvent pas oublier le petit livre rouge?
for循环中break与continue的区别——break-完全结束循环 & continue-终止本次循环
麦趣尔砸了小众奶招牌
随机推荐
[go][转载]vscode配置完go跑个helloworld例子
Acdreamoj1110 (multiple backpacks)
SDL2来源分析7:演出(SDL_RenderPresent())
Nodejs tutorial expressjs article quick start
[in depth learning] pytorch 1.12 was released, officially supporting Apple M1 chip GPU acceleration and repairing many bugs
PostgreSQL 修改数据库用户的密码
numpy 下载安装
Five wars of Chinese Baijiu
JPEG2000 matlab source code implementation
对话阿里巴巴副总裁贾扬清:追求大模型,并不是一件坏事
Is this the feeling of being spoiled by bytes?
Start the embedded room: system startup with limited resources
for循环中break与continue的区别——break-完全结束循环 & continue-终止本次循环
js之遍历数组、字符串
【Redis设计与实现】第一部分 :Redis数据结构和对象 总结
ACdreamoj1110(多重背包)
JS operation DOM element (I) -- six ways to obtain DOM nodes
Divide candy
JS according to the Chinese Alphabet (province) or according to the English alphabet - Za sort &az sort
Four common ways and performance comparison of ArrayList de duplication (jmh performance analysis)