Configuring Amazon Athena ODBC 2.x connections - Amazon Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Configuring Amazon Athena ODBC 2.x connections

You can use an ODBC connection to connect to Amazon Athena from many third-party SQL client tools and applications. You set up the ODBC connection on your client computer.

Considerations and limitations

ODBC 2.x driver download

To download the Amazon Athena 2.x ODBC driver, visit the links on this page.

Important

When you use the ODBC 2.x driver, be sure to note the following requirements:

  • Open port 444 – Keep port 444, which Athena uses to stream query results, open to outbound traffic. When you use a PrivateLink endpoint to connect to Athena, ensure that the security group attached to the PrivateLink endpoint is open to inbound traffic on port 444.

  • athena:GetQueryResultsStream policy – Add the athena:GetQueryResultsStream policy action to the IAM principals that use the ODBC driver. This policy action is not exposed directly with the API. It is used only with the ODBC and JDBC drivers as part of streaming results support. For an example policy, see Amazon managed policy: AWSQuicksightAthenaAccess.

Linux

Driver version Download link
ODBC 2.0.3.0 for Linux 64-bit Linux 64 bit ODBC driver 2.0.3.0

macOS (ARM)

Driver version Download link
ODBC 2.0.3.0 for macOS 64-bit (ARM) macOS 64 bit ODBC driver 2.0.3.0 (ARM)

macOS (Intel)

Driver version Download link
ODBC 2.0.3.0 for macOS 64-bit (Intel) macOS 64 bit ODBC driver 2.0.3.0 (Intel)

Windows

Driver version Download link
ODBC 2.0.3.0 for Windows 64-bit Windows 64 bit ODBC driver 2.0.3.0