使用C#安装程序安装Mysql静默安装 [英] Mysql silent installation with C# setup installation

查看:618
本文介绍了使用C#安装程序安装Mysql静默安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有C#窗口应用程序,后端为MySql。所以现在我想要安装我的应用程序来安装MySql。如何执行此操作?

I have C# window application with back end as MySql. So now i want a silent installation of MySql with the installation of my application.How can i perform this?

推荐答案

我不建议自动安装数据库随着应用程序。通常,数据库安装在完全不同的服务器上。此外,安装是集中的,这意味着许多用户将使用相同的数据库,因此数据库通常只安装一次,而应用程序可能会安装多次。



如果您有理由将安装嵌入到应用程序设置中,请查看 https://dev.mysql.com/doc/refman/5.1/en/windows-installer-msi-quiet.html [ ^ ]
I wouldn't suggest automating the installation of a database along with the application. Very often the database is installed on a completely different server. Also the installation is centralized meaning that the same database will be used by many users so the database is typically installed only once whereas the application may installed several times.

Having that said, if you have your reasons to embed the installation to your application set-up, have a look at https://dev.mysql.com/doc/refman/5.1/en/windows-installer-msi-quiet.html[^]


这篇关于使用C#安装程序安装Mysql静默安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆