使用MySQL数据库部署C#windows应用程序 [英] Deploy C# windows application with MySQL database
问题描述
你好,
我想在其他电脑上部署我的应用程序。
我的应用程序链接到MySQL数据库(由MySQL Workbench CE 5.0创建)。
然后,我尝试发布它(在解决方案资源管理器中>点击右边的项目>>发布..)
当我将我的应用程序安装到其他应用程序时,我的数据库不是我的应用程序附带的。
我试图在不同的网站上搜索,但我不满意他们的回答。
我的问题是:如何安装我的用我的数据库在另一台电脑上申请?
(1台带数据库但其他电脑的电脑),或者我在任何方面都不知道理解?
感谢您的指导
Ps:使用MSVC#2010作为工具,使用MySQL Workbench作为Sv。模拟器
Ps2:我的目标PC是一台干净的PC(除了所有Windows服务的OS(win7))
Hello,
I would like to deploy my Application on the other computers.
My application is linked to MySQL database(which be created by MySQL Workbench CE 5.0).
Then, I tried to publish it(at Solution Explorer > click right at project >> publish..)
When I installed my Application into the others, my database is not come with my Application.
I tried to search in differect sites but I don't satisfy with their answer.
My question is: How can I install my application with my database in another computer?
(1 PC with DB but the other PCs), or I missunderstand in any points?
Thank you for your guideline
Ps: using MSVC# 2010 as tool, use MySQL Workbench as Sv. Simulator
Ps2: My target PC is a "clean" PC (nothing but OS(win7) with all windows services)
推荐答案
你好,
请查看CP的以下文章,看看它是否对您有所帮助:
部署应用程序和数据库 [ ^ ]
其他一些链接供您参考:
http://stackoverflow.com/questions/9006986/use-mysql-in-ac-sharp-windows-application-within-visual-studio-2010 [ ^ ]
http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/70525450-299e-425f-8c07-ecf1683d8155 [ ^ ]
Hello,
Please go through below article from CP, see if it helps you:
Deploy your Application and Database[^]
Some other links for your reference:
http://stackoverflow.com/questions/9006986/use-mysql-in-a-c-sharp-windows-application-within-visual-studio-2010[^]
http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/70525450-299e-425f-8c07-ecf1683d8155[^]
这篇关于使用MySQL数据库部署C#windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!