WIndow应用程序c#和MySql数据库 [英] WIndow Application c# and MySql Database

查看:107
本文介绍了WIndow应用程序c#和MySql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Proffessional



i由于某些原因正在使用MYSql数据库开发Window应用程序。



但是我不知道如何在Visual Studio中使用Mysql数据库设置我的窗口项目。

可以在客户端计算机上轻松运行而无需安装MySql DataBase Setup。



有任何建议.... ?????

Hello Proffessional

i am developing Window Application With MYSql Database for some reasons.

but i dont know how to make setup of my window project in Visual Studio with Mysql Database.
that can easily run on client computer without installing MySql DataBase Setup.

Have Any Suggesion....?????

推荐答案

您需要在设置中添加启动条件。请参阅如何使用C#setup <安装Mysql.Data连接器 [ ^ ]用于添加启动条件的某些链接。



我特意使用了这个链接,因为它还告诉你如何静默安装MySql数据库设置 - 你必须确保你的客户端计算机安装了MySql,或者他们无法访问您的数据库!
You need to add Launch Conditions to your setup. See How to install Mysql.Data Connector with C# setup[^] for some links on adding launch conditions.

I''ve used that link specifically because it also tells you how to silently install the MySql database setup - you''re going to have to ensure that your client computer has MySql installed or they are not going to be able to access your database!


这篇关于WIndow应用程序c#和MySql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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