# Unable to select the database when creating dataset for Athena

**URL:** <https://community.amazonquick.com/t/unable-to-select-the-database-when-creating-dataset-for-athena/31254>\
**Category:** Q&A\
**Tags:** Business-Intelligence-Engineer, dataset, quick-sight\
**Created:** [June 12, 2024, 2:02pm UTC](https://community.amazonquick.com/t/unable-to-select-the-database-when-creating-dataset-for-athena/31254 "2024-06-12T14:02:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisHeath62](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@ChrisHeath62](https://community.amazonquick.com/u/ChrisHeath62)\
**Post date:** [June 12, 2024, 2:02pm UTC](https://community.amazonquick.com/t/unable-to-select-the-database-when-creating-dataset-for-athena/31254/1 "2024-06-12T14:02:49Z")

</div>

![image](https://d1wl4jav5dp96l.cloudfront.net/original/3X/9/0/90c27b146460296d3cc1773780d1661873f488f0.png)

I am unable to select the database when creating dataset for Athena. I have given the required permissions to the quicksight role for s3, glue, athena etc. I have also given permission to the quicksight role on database and table in lakeformation.  
Can’t think why i still can’t select my database. Kindly suggest.

---

<div class="post-metadata">

**Author:** ![murili](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/murili/32/21621_2.png) [@murili](https://community.amazonquick.com/u/murili)\
**Post date:** [June 12, 2024, 8:59pm UTC](https://community.amazonquick.com/t/unable-to-select-the-database-when-creating-dataset-for-athena/31254/2 "2024-06-12T20:59:32Z")

</div>

> [@ChrisHeath62](#):
>
> I am unable to select the database when creating dataset for Athena. I have given the required permissions to the quicksight role for s3, glue, athena etc. I have also given permission to the quicksight role on database and table in lakeformation.  
> Can’t think why i still can’t select my database. Kindly suggest.

There are a few things you can check if you are unable to select the database when creating a dataset for Athena in AWS Quick Sight:

1. **Check the IAM permissions** : Ensure that the Quick Sight user/role has the necessary permissions to access the Athena service and the specific database/tables you want to use. The permissions should include:

2. **Check the database/table visibility** : Verify that the database and tables you are trying to access are visible and accessible to the Quick Sight user/role. You can try the following:

3. **Check the data source connection settings** : In the Quick Sight data source settings, ensure that the connection to Athena is properly configured. Double-check the following:

4. **Check for VPC networking issues** : If your Athena database is located in a VPC, make sure that the Quick Sight service has the necessary network access to connect to the VPC and the Athena service. Check the VPC settings, security groups, and any relevant network configurations.

5. **Verify the Athena workgroup settings** : Ensure that the Athena workgroup used by Quick Sight is properly configured and the Quick Sight user/role has the necessary permissions to access the workgroup.

6. **Troubleshoot with AWS Support** : If you have exhausted the above steps and are still unable to select the database, consider reaching out to AWS Support for further assistance. They can help you investigate the issue and provide guidance based on your specific setup and configuration.

Start by thoroughly reviewing the IAM permissions and the database/table visibility, as these are the most common reasons for the inability to select the database in Quick Sight. If you’re still facing issues, the AWS Support team can help you identify and resolve the underlying problem.

---

<div class="post-metadata">

**Author:** ![Brett](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/brett/32/36494_2.png) [@Brett](https://community.amazonquick.com/u/Brett)\
**Post date:** [June 26, 2024, 5:42pm UTC](https://community.amazonquick.com/t/unable-to-select-the-database-when-creating-dataset-for-athena/31254/3 "2024-06-26T17:42:34Z")

</div>

Hi @ChrisHeath62,  
It’s been awhile since we last heard from you. Were you able to go through murili’s suggestions and did it work for your issue? If so, feel free to share with the community what helped with your scenario.

If we do not hear back from you within the next 3 business days, I’ll go ahead and archive this.

Thank you!

---

<div class="post-metadata">

**Author:** ![Brett](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/brett/32/36494_2.png) [@Brett](https://community.amazonquick.com/u/Brett)\
**Post date:** [July 1, 2024, 8:43pm UTC](https://community.amazonquick.com/t/unable-to-select-the-database-when-creating-dataset-for-athena/31254/4 "2024-07-01T20:43:17Z")

</div>

Hi @ChrisHeath62,  
Since we haven’t heard back, I’ll go ahead and mark this as solved. If you have any additional questions, feel free to create a new topic in the community and link this discussion for any relevant information.

Thank you!
