【发布时间】:2020-12-27 20:28:46
【问题描述】:
驱动程序版本: ODBC 1.1.2 for OSX
字符串连接: Driver=Simba Athena ODBC Driver;AuthenticationType=IAM Profile;AWSProfile=profile-name;AwsRegion=eu-central-1;Workgroup=primary;S3OutputLocation=s3:///output;Schema=historical_data;
错误: nanodbc/nanodbc.cpp:983: 00000: [Simba][DSI] (20032) Required setting 'UID' is not present in the connection settings.
看起来像是驱动程序中的某种错误。
我可以连接 AWS CLI,因此配置文件已正确设置。
【问题讨论】:
-
您是否设置了 simba.com/products/Athena/doc/ODBC_InstallGuide/mac/content/… 中提到的 AWS_SHARED_CREDENTIALS_FILE 变量?并通过查看 ~/.aws/credentials 确保凭证配置文件有效?
-
AWS_SHARED_CREDENTIALS_FILE仅在您将凭据存储在其他地方时才需要。但是,我设置了变量,但仍然失败并显示相同的错误消息。 -
您能否确认您在 ~/.aws/credentials 中的凭据是否有效?
-
是的,它们是有效的!真的很奇怪,在所有这些安装和卸载过程中,它似乎又可以工作了。
标签: amazon-web-services odbc amazon-athena