连接字符串 SQLite 问题



需要一些有关SQLite连接字符串的帮助。我正在使用Mono.Data.Sqlite.我知道如果我的database.sqlite驻留在本地计算机中,则连接字符串的格式“URI=file:" + "<Directory-Path>/database.sqlite",它实际上对我有用。

但是网络位置的连接字符串的格式是什么。假设我的数据库在某个服务器上并给出了以下参数:

Server = "swipe.example.com";
Username = "example@swipe.example.com";
Password = <Some Password>;
DatabasePath = "swipe.example.com/database.sqlite";

我尝试多次搜索论坛,但根本没有找到解决方案。如果您能告诉我,我将不胜感激。

谢谢

SQLite是无服务器的。访问此链接了解更多信息:https://www.sqlite.org/serverless.html您可以使用 http://www.sqlitening.com/

最新更新