随笔分类 - postgresql
摘要:[postgres@pg01 ~]$ psql -Upostgres -dpostgres postgres=# alter user postgres with password 'postgres'; ALTER ROLE 登录测试: [postgres@pg02 ~]$ psql -h 192
阅读全文
摘要:1、下载地址 https://www.enterprisedb.com/download-postgresql-binaries 2、创建用户并修改密码 [root@node01 ~]# useradd postgres [root@node01 ~]# passwd postgres Changi
阅读全文
摘要:方法一: [postgres@node01 ~]$ psql -Upostgres postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges + + + + + post
阅读全文