无法使用 snowsql 连接到 Snowflake 数据库
Not able to connect to Snowflake database with snowsql
我无法通过 Windows 控制台与 snowsql 连接:
<!-- language: lang-html -->
C:\Users\musik>snowsql -a [myAccount] -u [myUserName]<br>
Installing version: 1.2.0 [####################################] 100%<br>
Password:<br>
<!-- end snippet -->
我收到此错误消息:
250001 (08001): Failed to connect to DB. Verify the account name is correct: [myAccount].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!
Screenshot
然后我用了-o log_level=DEBUG
。在日志文件中,我可以看到我收到 "forbidden" 错误:
2019-12-05 16:45:16,510 (6472/MainThread) snowflake.connector.network DEBUG network:822 - HTTP 403: Forbidden. Retrying...
我能做什么?有人遇到同样的问题吗?
请使用以下命令:
snowflake URL : https://abc.snowflakecomputing.com
Account_name : abc
User_name : Give fully qualified user name
snowsql -a <account_name> -u <user_name>
注意:在此之前,请确保您能够使用 snowflake Web 使用用户名和密码登录 UI。
根据我之前的评论:请务必在您的帐户中包含地区等信息。它应该包括您用来通过 UI.
访问 Snowflake 的 URL 中的 snowflakecomputing.com 之前的所有内容
我无法通过 Windows 控制台与 snowsql 连接:
<!-- language: lang-html -->
C:\Users\musik>snowsql -a [myAccount] -u [myUserName]<br>
Installing version: 1.2.0 [####################################] 100%<br>
Password:<br>
<!-- end snippet -->
我收到此错误消息:
250001 (08001): Failed to connect to DB. Verify the account name is correct: [myAccount].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!
Screenshot
然后我用了-o log_level=DEBUG
。在日志文件中,我可以看到我收到 "forbidden" 错误:
2019-12-05 16:45:16,510 (6472/MainThread) snowflake.connector.network DEBUG network:822 - HTTP 403: Forbidden. Retrying...
我能做什么?有人遇到同样的问题吗?
请使用以下命令:
snowflake URL : https://abc.snowflakecomputing.com
Account_name : abc
User_name : Give fully qualified user name
snowsql -a <account_name> -u <user_name>
注意:在此之前,请确保您能够使用 snowflake Web 使用用户名和密码登录 UI。
根据我之前的评论:请务必在您的帐户中包含地区等信息。它应该包括您用来通过 UI.
访问 Snowflake 的 URL 中的 snowflakecomputing.com 之前的所有内容