From c3921a1fd67e291a28a3e5276bf9518784b16350 Mon Sep 17 00:00:00 2001 From: li-jun056 <1255728208@qq.com> Date: Mon, 6 Jul 2020 18:00:18 +0800 Subject: [PATCH] modify format --- ...1\227\256\351\242\230\345\244\204\347\220\206.md" | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git "a/content/zh/docs/Toolreference/\345\270\270\350\247\201\351\227\256\351\242\230\345\244\204\347\220\206.md" "b/content/zh/docs/Toolreference/\345\270\270\350\247\201\351\227\256\351\242\230\345\244\204\347\220\206.md" index 0d8d34f7f..7a8268e7c 100644 --- "a/content/zh/docs/Toolreference/\345\270\270\350\247\201\351\227\256\351\242\230\345\244\204\347\220\206.md" +++ "b/content/zh/docs/Toolreference/\345\270\270\350\247\201\351\227\256\351\242\230\345\244\204\347\220\206.md" @@ -111,7 +111,7 @@ >gsql: FATAL: database "postgres" does not exist >gsql -d postgres -U user1 -W gauss@789 -p 5432 >gsql: FATAL: Invalid username/password,login denied. - >``` + >``` - gsql: FATAL: sorry, too many clients already,active/non-active: 197/3. @@ -173,8 +173,7 @@

执行如下命令查看指定用户USER1已使用的会话连接数。其中,1表示USER1已使用的会话连接数。

SELECT COUNT(*) FROM V$SESSION WHERE USERNAME='user1';
     
-     count
-    -------
+    ######  count
          1
     (1 row)
@@ -204,16 +203,15 @@

执行如下命令查看所有用户已使用的会话连接数。

SELECT COUNT(*) FROM V$SESSION;
-     
-     count
-    -------
+    
+    ######  count
          10
     (1 row)
- + - gsql: wait xxx.xxx.xxx.xxx:xxxx timeout expired gsql在向数据库发起连接的时候,会有5分钟超时机制,如果在这个超时时间内,数据库未能正常的对客户端请求进行校验和身份认证,那么gsql会退出当前会话的连接过程,并报出如上错误。 -- Gitee