Linux Database Location #689
-
Where is the database located on linux? |
Beta Was this translation helpful? Give feedback.
Answered by
alextekartik
Aug 18, 2021
Replies: 1 comment 1 reply
-
var factory = databaseFactoryFfi;
print(await factory.getDatabasesPath()); should give you something like:
which is just a placeholder location. The recommendation for Linux (and Desktop in General) is to use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
furkantiv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should give you something like:
which is just a placeholder location. The recommendation for Linux (and Desktop in General) is to use
path_provider
package to find the best location (I'm not aware of any recommendation on Linux but there might be common locations) and use an absolute path when opening a database.