[pg102@pgserver ~]$ psql -p5532
psql: FATAL: database "pg102" does not exist
[pg102@pgserver ~]$ psql -p5532 -d postgres
psql (10.2)
Type "help" for help.
postgres=# \q
[pg102@pgserver ~]$ psql -p 5532 -d postgres -U pg102
psql (10.2)
Type "help" for help.
postgres=#
PG Cluster 用非5432端口时的登录方式
最新推荐文章于 2024-09-05 18:08:42 发布
本文记录了在使用PostgreSQL数据库过程中遇到的连接问题及解决方案。通过尝试不同的连接参数设置,最终成功连接到指定的数据库实例。文章详细展示了从错误提示到正确配置的全过程。

3522

被折叠的 条评论
为什么被折叠?



