Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. MySQL
  4. backup of mysql in asp.net

backup of mysql in asp.net

Scheduled Pinned Locked Moved MySQL
helpcsharpasp-netdatabasemysql
2 Posts 1 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saurabh20067
    wrote on last edited by
    #1

    hii I created backup of mysql from command prompt using mysqldump utility.I was successful.The syntax is as follows first i go to mysql/bin folder and there I type mysqldump -uroot -psameer databasename>D:\t.sql that is the above syntax now when i run this syntax in asp.net using shell command i get no error However no backup file is created,but it works from command prompt. Any idea to make it work in asp.net the syntax which im using in vs2005 is shell(C:\programfiles\mysql\bin\mysqldump -uroot -psameer databasename>D:\t.sql) Any help would be greatly appreciated :doh:

    S 1 Reply Last reply
    0
    • S saurabh20067

      hii I created backup of mysql from command prompt using mysqldump utility.I was successful.The syntax is as follows first i go to mysql/bin folder and there I type mysqldump -uroot -psameer databasename>D:\t.sql that is the above syntax now when i run this syntax in asp.net using shell command i get no error However no backup file is created,but it works from command prompt. Any idea to make it work in asp.net the syntax which im using in vs2005 is shell(C:\programfiles\mysql\bin\mysqldump -uroot -psameer databasename>D:\t.sql) Any help would be greatly appreciated :doh:

      S Offline
      S Offline
      saurabh20067
      wrote on last edited by
      #2

      Hii, Jose if i understand correctly then username and password is working on command prompt.Then the same should work with shell utility in asp.net.Isn't it. :sigh:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups