📜  测试 postgresql 数据库连接 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:22.830000             🧑  作者: Mango

代码示例1
psql -U kodekloud_aim -d kodekloud_db8 -h 127.0.0.1 -W  ## Change name according to question
#### for the test on mode postgres u have
## \conninfo 
## \l
## \dg+
## \q   # to quit
psql -U kodekloud_gem -d kodekloud_db10 -h localhost -W