如何在MySQL中对表进行列备份 [英] How to take column backup for a table in mysql
本文介绍了如何在MySQL中对表进行列备份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在mysql中对表进行列备份.我们对此有任何命令.请为它提供解决方案
How to take column backup for a table in mysql.we have any command for it.Please provide the solution for it
推荐答案
您可以使用MySqlBackup.NET帮助做到这一点:
http://mysqlbackupnet.codeplex.com
You can use MySqlBackup.NET to help to do that:
http://mysqlbackupnet.codeplex.com
string file = "C:\\backup.sql";
string conn = "server=localhost;user=root;pwd=qwerty;database=test;";
var mb = new MySqlBackup(conn);
mb.ExportInfo.FileName = file;
mb.ExportRows = false;
mb.ExportTableStructure = true;
mb.Export();
这篇关于如何在MySQL中对表进行列备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文