简体   繁体   English

从桌面应用程序操作MySQL数据库的最佳方法是什么?

[英]What is the best method of manipulate a MySQL database from a desktop application?

I'm developing an application that depends on sending and receiving data from a MySQL database. 我正在开发一个依赖于从MySQL数据库发送和接收数据的应用程序。 This is a .NET application written in C#. 这是用C#编写的.NET应用程序。 I already know that I could use ADO.NET to access the database directly, but I'm using a shared server so direct access to the database remotely is not allowed and a dedicated server account is just to expensive at this point in development. 我已经知道我可以使用ADO.NET直接访问数据库,但是我使用的是共享服务器,因此不允许远程直接访问数据库,并且专用服务器帐户在开发的这一点上代价很高。 I was thinking about using the application to send a encrypted SQL request using php and then the server will return a encrypted XML file containing the data that was requested, but I don't know maybe that would be too slow, any suggestions? 我当时正在考虑使用该应用程序通过php发送加密的SQL请求,然后服务器将返回一个包含请求数据的加密XML文件,但我不知道那可能会太慢,有什么建议吗?

Have you thought about SSH tunneling your requests / responses? 您是否考虑过SSH隧道传输您的请求/响应? There are SSH libraries to enable this, then use ADO.NET through the SSH tunnel? 有SSH库可以启用此功能,然后通过SSH隧道使用ADO.NET吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 数据库桌面应用程序权限管理的最佳方法是什么? - What is the Best way for database desktop application permission managing? 操纵xml文件的最佳方法是什么? - What is the best method to manipulate xml files? 监视桌面应用程序的最佳方法是什么? - What's the best way to watchdog a desktop application? 从C#桌面应用程序向远程服务器上的MySql数据库添加数据 - Adding of data to MySql database on remote server from C# desktop application 在 WPF 桌面应用程序中从数据库中检索数据 - Retrieving data from database in WPF Desktop application 从.Net应用程序处理MySql数据库的正确方法是什么 - What is the correct way to deal with a MySql database from a .Net application 如何将 MySql 在线数据库连接到 C# 桌面应用程序 - How can connect MySql Online Database to C# desktop application 实现一种执行一些繁重操作(例如更新数据库,从数据库检索)的方法的最佳方法是什么? - What is the best way to implement a method that does some pretty heavy operations like updating a database, retrieving from a database? 桌面应用程序的数据库托管 - Database hosting for desktop application 通过网络在android应用程序和WPF桌面应用程序之间传输数据的最佳方法是什么 - what is the best way to transfer data between android application and WPF desktop application over network
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM