Skip to content

SQLite db file stored in a cloud storage #625

Answered by PookieBuns
cetorres asked this question in Questions
Discussion options

You must be logged in to vote

I don’t think this is a question regarding sqlmodel itself but more about how SQLite works. Generally, if you search around how to access SQLite through a remote server, most people will tell you just don’t. It’s not worth the hassle. SQLite is only accessible through a file and is not meant to be accessed remotely. Use a database that can communicate over TCP like MySQL or Postgres. However, if you really do insist on doing so, you could do some weird hacks like sshfs to the machine storing the db file and communicating the file there. Another really jank way is just to copy the file to your local machine, access it, then copy it back. Anyways, my suggestion would to be just migrate your…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants