1

我无法通过 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!

截屏

然后我用-o log_level=DEBUG. 在日志文件中,我可以看到我收到“禁止”错误:

2019-12-05 16:45:16,510 (6472/MainThread) snowflake.connector.network DEBUG        network:822  - HTTP 403: Forbidden. Retrying...

我能做些什么?有人有同样的问题吗?

4

2 回答 2

3

根据我之前的评论:请务必在您的帐户中包含地区等。它应该在您用于通过 UI 访问 Snowflake 的 URL 中包含直到 snowflakecomputing.com 的所有内容。

于 2019-12-06T12:49:41.900 回答
0

请使用以下命令:

snowflake URL : https://abc.snowflakecomputing.com
Account_name  : abc
User_name     : Give fully qualified user name

snowsql -a <account_name> -u <user_name>

注意:在此之前,请确保您能够使用雪花 Web UI 使用用户名和密码登录。

于 2019-12-06T04:52:14.793 回答