我想设置Snowsql客户端,这样我就可以第一次连接并运行像PUT这样的命令。
我不知道在哪里可以找到精确的值:
accountname = xxxx
username = xxxx
password = xxxx从Windows命令提示符运行以下命令时:
C:\Users\noureddine.ettalhi>snowsql -a ettalhi -u ettalhi
Password:
250001 (08001): Failed to connect to DB. Verify the account name is correct: ettalhi.snowflakecomputing.com:443. HTTP 403: Forbidden
If the error message is unclear, enable logging using -o log_level=DEBUG and see the log to find out the cause. Contact support for further help.
Goodbye!它一直在说前面提到的错误。那么,我应该为帐户提供什么值呢?
第一次使用SnowSql需要遵循哪些步骤?
谢谢。
发布于 2020-01-15 06:27:58
帐户名是用于访问snowflake帐户的URL的一部分,因为我的URL是https://vq985xx.ca-central-1.aws.snowflakecomputing.com,所以在我的示例中它是vq985xx.ca-central-1.aws
这在snowflake文档中有解释,链接:https://docs.snowflake.net/manuals/user-guide/getting-started-tutorial-log-in.html#step-1-log-into-snowsql
发布于 2020-02-05 00:06:45
由于您使用的是snowsql客户端,因此还可以在位于.snowsql/config的配置文件中创建配置文件
[connections.MY_DEV]
accountname = myco.us-east-1
username = myuserid
database = mydb
role = mydb_admin
schema = myschema
warehouse = my_WH设置配置文件后,您可以指定-c My_DEV将提示输入密码的snowsql。只是另一种方式
发布于 2020-07-24 18:46:13
要获取帐户名,请使用CURRENT_USER()函数,该函数将返回您需要与此页面https://docs.snowflake.net/manuals/user-guide/getting-started-tutorial-log-in.html#step-1-log-into-snowsql中的区域段组合的帐户名。
https://stackoverflow.com/questions/59741927
复制相似问题