连接
连接命令1:
gsql -d ${dbName} -U ${userName} -p {port:默认为25308} -h {ip} -W {password}
连接命令2:
gsql -d postgres -p {port:默认为25308}
两个命令都需要安装有GaussDB客户端
登出命令
\q
查看当前连接情况
select * from pg_stat_activity;
forest-xs 2020-08-13 21:51 原文
连接命令1:
gsql -d ${dbName} -U ${userName} -p {port:默认为25308} -h {ip} -W {password}
连接命令2:
gsql -d postgres -p {port:默认为25308}
两个命令都需要安装有GaussDB客户端
\q
select * from pg_stat_activity;