sqllite连接远程mysql,关于远程sqlite数据库连接

本文探讨了尝试将C#应用程序(运行在WinCE6.0 ARM9板上)连接到桌面PC上的SQLite数据库文件的问题。尽管SQLite通常是本地数据库,不适合远程使用,但可以尝试通过网络共享数据库文件来实现连接,前提是SQLite提供程序支持并设备具备网络共享客户端功能。如果此方法不可行,建议使用支持远程连接的数据库,如SQL Express版。
摘要由CSDN通过智能技术生成

Dear sir,

I have sqlite database file on desktop PC.

And my C# application running on WinCE6.0 ported ARM9 core board.

Both,PC and Apllication board are in Network.

I want to connect my application to this Sqlite Database file.

Then tell me ,How to write the connection string to connect the remote sqlite database

file with my C# application which is running on WinCE ported ARM9 Board?

Best Regards, Mrudula Choudhhari

解决方案AFAIK sqllite is a local, in-process database, it is not intended to be used remotely.

I suppose you can try using database file shared out on the network share assuming sqllite provider allows for it and your device has support for network sharing client.

If not then you should use more appropriate database which allows for remote connections, e.g. SQL Express edition.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值