MySql DB(如何在部署时添加数据库) [英] MySql DB(how to add DB at the time of deployment)

查看:119
本文介绍了MySql DB(如何在部署时添加数据库)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我要部署(使用MySql 5.0的c#.net)应用程序,但无法将数据库添加到我的应用程序中.
我想知道如何使用MySql数据库部署应用程序(windows)

谢谢
mahesh

Hello,
i am going to deploy(c#.net with MySql 5.0) the application but can''t add database to the my application.
i would like to know how to deploy my application(windows) with MySql database

Thanks
mahesh

推荐答案

您可以执行以下操作:

1)用代码构建数据库(创建表等)
2)在安装程序中通过sql脚本构建数据库.
3)使用MySql工具备份和还原数据库.
You can do the following :

1) Build your database in code (create tables etc...)
2) Build your database via sql scripts in your installation program.
3) Backup and restore your database using the MySql tools.


这篇关于MySql DB(如何在部署时添加数据库)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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