简体   繁体   English

部署C#winform和MySQL项目

[英]Deploying a C# winform and MySQL project

I have developed a Windows-based project using C# and MySQL. 我已经使用C#和MySQL开发了一个基于Windows的项目。 Now I want to deploy this project to my client. 现在,我想将此项目部署到我的客户端。

  1. How to create an Installer (package)? 如何创建安装程序(程序包)?
  2. How to dump the database into the client's system? 如何将数据库转储到客户端系统中?

Note: 注意:

  • Applications will be installed across multiple systems -- each system has their own database 应用程序将跨多个系统安装-每个系统都有自己的数据库
  • System doesn't have MySQL installed (installation is not preferred). 系统未安装MySQL(不建议安装)。
  • This is a completely standalone application, not related to any servers. 这是一个完全独立的应用程序,与任何服务器都不相关。

Problem: I cannot ask the end user to install MySQL in their system to be able to export, dump, and import in every system. 问题:我不能要求最终用户在他们的系统中安装MySQL以便能够在每个系统中导出,转储和导入。

Required: A package installer which installs my project along with MySQL patches and required data in database. 必需:一个软件包安装程序,用于将我的项目以及MySQL补丁和数据库中的所需数据一起安装。

Hi have you used MySQL just because its a freely available database product? 嗨,您使用MySQL只是因为它是免费提供的数据库产品吗?

by the sound of what your asking would SQL CE not be a better database option? 听到您问什么的声音,SQL CE会不是更好的数据库选择吗?

http://en.wikipedia.org/wiki/SQL_Server_Compact http://en.wikipedia.org/wiki/SQL_Server_Compact

As far as i know with SQL CE you can embed the database into the application and would not need to install a database server on the client computer. 据我所知,您可以使用SQL CE将数据库嵌入到应用程序中,而无需在客户端计算机上安装数据库服务器。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM