Results 1 to 2 of 2

Thread: Restore Mysql database query is not working in ASP.NET, C#

  1. #1
    santhoshahp is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0
    Join Date
    Dec 2010
    Posts
    3
    Reputation
    0

    Exclamation Restore Mysql database query is not working in ASP.NET, C#

    Dear Sir/Madam,

    we are using Mysql.exe to restore database by the following query

    string cmd ="-h" + ViewState["host"].ToString() + " " + "-u" + ViewState["user"].ToString() + " " + "-p" + ViewState["password"].ToString() + " " + ViewState["dbName"].ToString() + "<" + " " + Server.MapPath("BackupFiles/") + path;

    The same query is executing in MySql command prompt but we are not able to restore using the above query in VisualStudio .Net, we have tried MysqlImport.exe to do the restore but it was no use. we are newbie to MySql if any help would be appreciated.

    With Regards,

    Santhosha

  2. #2
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,225
    Reputation
    2370
    This is a VB.Net forum, but a VB.Net developer may be able to help you also. Thread not deleted.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking