如何使用存储过程恢复mysql数据库 [英] how to restore mysql database with store procedure

查看:217
本文介绍了如何使用存储过程恢复mysql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MySqlBackup mb=new MySqlBackup();
 
            mb.Connection = new MySqlConnection(@"server=localhost;user=root;database=db_track;");
        
            mb.ImportInfo.AsynchronousMode = true;
           
            mb.ImportInfo.FileName = @"C:\Users\DigiOM\Desktop\vehicle.sql";
            mb.Import();



我的应用程序在asp.net windows应用程序上

在此上面的代码还原表中没有恢复商店程序

请帮我在数据库中存储程序与表

谢谢。


my application is on asp.net windows application
in this above code restore only table not restore store procedure
please help me to store procedure in database with table
Thank You.

推荐答案

你好Nits,



请查看这个 [ ^ ]类似的问题已在此问及解答论坛。



问候,
Hello Nits,

Please checkout this[^] similar question already asked and answered on this forum.

Regards,


这篇关于如何使用存储过程恢复mysql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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