

# ODBC 4.x

Use ODBC 4.x to connect SQL clients and applications to Amazon Athena workgroups running engine version 3 or DuckDB. The installed driver name remains `Amazon Athena ODBC (x64)`.

## Download and installation packages
<a name="odbc-v4-driver-download"></a>

The following table describes installation packages.



| Platform | Package | 
| --- | --- | 
| Windows | [Windows 64-bit installer](https://aws-analytics-downloads-us-east-1.s3.us-east-1.amazonaws.com/athena/ODBC/v4.0.0.0/Windows/AmazonAthenaODBC-4.0.0.0-windows-amd64.msi) | 
| Linux | [Linux x86\_64 installer](https://aws-analytics-downloads-us-east-1.s3.us-east-1.amazonaws.com/athena/ODBC/v4.0.0.0/Linux/AmazonAthenaODBC-4.0.0.0-x86_64.rpm) | 
| macOS | [macOS universal installer](https://aws-analytics-downloads-us-east-1.s3.us-east-1.amazonaws.com/athena/ODBC/v4.0.0.0/Mac/AmazonAthenaODBC-4.0.0.0-macos11-universal.pkg) | 

[License agreement](https://aws-analytics-downloads-us-east-1.s3.us-east-1.amazonaws.com/athena/ODBC/v4.0.0.0/LICENSE.txt)

For installation and connection testing, see [Get started with ODBC 4.x](odbc-v4-driver-getting-started.md). For changes in this version, see [Release notes](odbc-v4-driver-release-notes.md).

## Engine selection and permissions
<a name="odbc-v4-driver-engine-detection"></a>

When opening a connection, the driver reads the workgroup effective engine version and result storage with `GetWorkGroup`. Grant the credentials `athena:GetWorkGroup` in addition to the permissions needed to submit queries and read their results.

Unrecognized engine versions fail the connection unless a supported `EngineVersion` override is supplied. Open a new connection after changing the workgroup engine; an enabled connection cache can retain the prior configuration for five minutes.

**Topics**
+ [Download and installation packages](#odbc-v4-driver-download)
+ [Engine selection and permissions](#odbc-v4-driver-engine-detection)
+ [Requirements and behavior by workgroup engine](odbc-v4-driver-engine-comparison.md)
+ [Get started with ODBC 4.x](odbc-v4-driver-getting-started.md)
+ [Connection parameters](odbc-v4-driver-connection-parameters.md)
+ [Data types and result conversion](odbc-v4-driver-data-types.md)
+ [Migrate from ODBC 2.x](odbc-v4-driver-migrating.md)
+ [Troubleshoot the ODBC 4.x driver](odbc-v4-driver-troubleshooting.md)
+ [Release notes](odbc-v4-driver-release-notes.md)