# Temporal-sql-tool update error error listing schema dir:open

**URL:** <https://community.temporal.io/t/temporal-sql-tool-update-error-error-listing-schema-dir-open/12399>\
**Category:** Community Support\
**Created:** [June 6, 2024, 5:04pm UTC](https://community.temporal.io/t/temporal-sql-tool-update-error-error-listing-schema-dir-open/12399 "2024-06-06T17:04:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thangaiah\_Karthikeya](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/thangaiah_karthikeya/32/5439_2.png) [@Thangaiah\_Karthikeya](https://community.temporal.io/u/Thangaiah_Karthikeya)\
**Post date:** [June 6, 2024, 5:04pm UTC](https://community.temporal.io/t/temporal-sql-tool-update-error-error-listing-schema-dir-open/12399/1 "2024-06-06T17:04:43Z")

</div>

Trying to execute the following command and got  
error listing schema dir:open error. Am I missing some permission ?

SQL\_DATABASE=temporal ./temporal-sql-tool update -schema-dir schema/mysql/v8/temporal/versioned  
2024-06-06T12:52:11.459-0400 INFO UpdateSchemaTask started {“config”: {“DBName”:“”,“TargetVersion”:“”,“SchemaDir”:“schema/mysql/v8/temporal/versioned”,“SchemaName”:“”,“IsDryRun”:false}, “logging-call-at”: “updatetask.go:104”}  
2024-06-06T12:52:11.482-0400 ERROR Unable to update SQL schema. {“error”: “error listing schema dir:open .: no such file or directory”, “logging-call-at”: “handler.go:78”}

We do have this MySQL instance created in Azure under windows virtual machine

Thank you  
Karthik

---

<div class="post-metadata">

**Author:** ![nikitashinde](https://avatars.discourse-cdn.com/v4/letter/n/85f322/32.png) [@nikitashinde](https://community.temporal.io/u/nikitashinde)\
**Post date:** [May 10, 2025, 7:30pm UTC](https://community.temporal.io/t/temporal-sql-tool-update-error-error-listing-schema-dir-open/12399/2 "2025-05-10T19:30:51Z")

</div>

I am seeing the same issue. How did you resolved it?
