SQLite 的连接字符串问题
Connection string Issue with 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 是无服务器的。
访问此 link 了解更多信息:
https://www.sqlite.org/serverless.html
您可以使用 http://www.sqlitening.com/
需要一些有关 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 是无服务器的。 访问此 link 了解更多信息: https://www.sqlite.org/serverless.html 您可以使用 http://www.sqlitening.com/