# Database error when testing on device

**URL:** <https://forums.swift.org/t/database-error-when-testing-on-device/62765>\
**Category:** Using Swift\
**Tags:** sqlite\
**Created:** [January 24, 2023, 11:40am UTC](https://forums.swift.org/t/database-error-when-testing-on-device/62765 "2023-01-24T11:40:00Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![NovatoSwift](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@NovatoSwift](https://forums.swift.org/u/NovatoSwift)\
**Post date:** [February 22, 2023, 9:38am UTC](https://forums.swift.org/t/database-error-when-testing-on-device/62765/21 "2023-02-22T09:38:14Z")

</div>

Good morning. Thank you very much for the reply. In fact, that route also works for me. But... the problem is that I put that path /var/mobile/Containers... in the "finder" and that path doesn't exist, so when the application is run on the iPhone it doesn't physically find the database, that is where my problem lies or is. The application cannot find the database.And I'm going crazy for 1 month that I can't test the application on the iphone.

---

<div class="post-metadata">

**Author:** ![eskimo](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/eskimo/32/13558_2.png) [@eskimo](https://forums.swift.org/u/eskimo)\
**Post date:** [February 24, 2023, 10:23am UTC](https://forums.swift.org/t/database-error-when-testing-on-device/62765/22 "2023-02-24T10:23:06Z")

</div>

For those following along at home, I’ll be help NovatoSwift out [on DevForums](https://developer.apple.com/forums/thread/725064).

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple

[Previous page](https://forums.swift.org/t/database-error-when-testing-on-device/62765.md?page=1)
