String SQLite的连接字符串问题
需要一些关于SQLite连接字符串的帮助。我使用的是String SQLite的连接字符串问题,string,sqlite,format,connection,String,Sqlite,Format,Connection,需要一些关于SQLite连接字符串的帮助。我使用的是Mono.Data.Sqlite。我知道如果我的database.sqlite驻留在本地计算机中,那么连接字符串的格式是“URI=file:”+“/database.sqlite”,它实际上对我有效 但是网络位置的连接字符串的格式是什么。假设我的数据库位于某台服务器上,并给定以下参数: Server = "swipe.example.com"; Username = "example@swipe.example.com"; Password =
Mono.Data.Sqlite
。我知道如果我的database.sqlite
驻留在本地计算机中,那么连接字符串的格式是“URI=file:”+“/database.sqlite”
,它实际上对我有效
但是网络位置的连接字符串的格式是什么。假设我的数据库位于某台服务器上,并给定以下参数:
Server = "swipe.example.com";
Username = "example@swipe.example.com";
Password = <Some Password>;
DatabasePath = "swipe.example.com/database.sqlite";
Server=“swipe.example.com”;
用户名=”example@swipe.example.com";
密码=;
DatabasePath=“swipe.example.com/database.sqlite”;
我尝试搜索论坛好几次,但都没有找到解决方案。如果你能让我知道,我将非常感激
谢谢,SQLite是无服务器的。
有关更多信息,请访问此链接:
你可以用