简体   繁体   English

如何使用C#在Mysql数据库中备份表

[英]How to Backup of my tables in Mysql Database using C#

I'm having around 150tables in my Schema. 我的架构中大约有150个表。 In that few tables are master table it will be around 20 tables. 由于只有几张主表,因此大约有20张表。 Without taking the backup of other tables i want to take the backup of Master tables only and i have to achieve this through C# code. 在不进行其他表备份的情况下,我只想对主表进行备份,而我必须通过C#代码来实现。

I'm using VS2008 and MySQL 我正在使用VS2008和MySQL

First create a C# program to connect to server and then issue commands to get your backup. 首先创建一个C#程序以连接到服务器,然后发出命令以获取备份。

Backup commands can be found here - 备份命令可以在这里找到-

Database Backup Methods 数据库备份方法

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

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