Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/string/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
String SQLite的连接字符串问题_String_Sqlite_Format_Connection - Fatal编程技术网

String 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 =

需要一些关于SQLite连接字符串的帮助。我使用的是
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是无服务器的。 有关更多信息,请访问此链接: 你可以用