gsql使用常见问题
作者:互联网
- sql命令执行有错,但是gsql返回为零的问题
gsql -U rdsAdmin -p 30050 -W huawei@123Pwd -r -d aaron -c "alter user wxy identified by 'sdfsdfsdf112'" -v ON_ERROR_STOP=off; echo $?
ERROR: role "aaron" does not exist
0
gsql -U rdsAdmin -p 30050 -W huawei@123Pwd -r -d wxy -c "alter user aaron identified by 'sdfsdfsdf112'" -v ON_ERROR_STOP=on; echo $?
ERROR: role "aaron" does not exist
3
-
gsql -h host_ip,连接不上指定ip
在指定的host_ip的相应实例路径,配置如下
host all all 10.244.46.119/32 sha256
标签:gsql,常见问题,ip,使用,host,aaron,30050,ERROR 来源: https://www.cnblogs.com/aaronwell/p/14887002.html