stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.59k stars 1.55k forks source link

Unable to create database #1032

Closed adnanafzal565 closed 2 years ago

adnanafzal565 commented 3 years ago

I am getting the following error from the master branch while creating a connection to the database:

cannot open file at line open(//my_db.sqlite3) The operation couldn’t be completed. (SQLite.Result error 0.)

I wanted to ask, do I have to give some permissions to create a database?

If yes, kindly let me know which ones and how to add them.

Thanks.

nathanfallet commented 2 years ago

@adnanafzal565 Can you show us your code please?

nathanfallet commented 2 years ago

Duplicate of #982