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

backup of mysql

Scheduled Pinned Locked Moved MySQL
databasemysqlcsharpasp-nettools
6 Posts 2 Posters 8 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

    hi, I have a WAMP installed on my machine.i have created a website in asp.net and mysql.Now I have this utility called phpmyadmin.I can create a backup of database through this utility.But i cant create it through query.I tried mysqldump utility query.However it didnt work.I want to create backup from the frontend for the user through query. Any help would be greatly appreciated :doh:

    J 1 Reply Last reply
    0
    • S saurabh20067

      hi, I have a WAMP installed on my machine.i have created a website in asp.net and mysql.Now I have this utility called phpmyadmin.I can create a backup of database through this utility.But i cant create it through query.I tried mysqldump utility query.However it didnt work.I want to create backup from the frontend for the user through query. Any help would be greatly appreciated :doh:

      J Offline
      J Offline
      JoseMenendez
      wrote on last edited by
      #2

      I strongly suggest to use mysqldump. You can automate it with including just the mysqldump.exe program is quite tiny and you may call it from your program.

      Jm www.menendezpoo.com

      S 1 Reply Last reply
      0
      • J JoseMenendez

        I strongly suggest to use mysqldump. You can automate it with including just the mysqldump.exe program is quite tiny and you may call it from your program.

        Jm www.menendezpoo.com

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

        Im trying to use it from the command prompt. however it says access denied. my user name is root and no password. pls help!!!!!!! :sigh:

        J 1 Reply Last reply
        0
        • S saurabh20067

          Im trying to use it from the command prompt. however it says access denied. my user name is root and no password. pls help!!!!!!! :sigh:

          J Offline
          J Offline
          JoseMenendez
          wrote on last edited by
          #4

          then you'll have to type mysqldump -uroot -p mydatabase and it will prompt for a password. Just hit enter.

          Jm www.menendezpoo.com

          S 1 Reply Last reply
          0
          • J JoseMenendez

            then you'll have to type mysqldump -uroot -p mydatabase and it will prompt for a password. Just hit enter.

            Jm www.menendezpoo.com

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

            hiiiiiii thanks very much it solved my problem Jose.I would prefer if it is without prompting of the password. Anyway A big thanks to Jose. and if possible solve this problem as well. :)

            J 1 Reply Last reply
            0
            • S saurabh20067

              hiiiiiii thanks very much it solved my problem Jose.I would prefer if it is without prompting of the password. Anyway A big thanks to Jose. and if possible solve this problem as well. :)

              J Offline
              J Offline
              JoseMenendez
              wrote on last edited by
              #6

              The only way I know to make this possible is by doing the following: Re-Install MySQL, when configuring for the first time, uncheck the checkbox that says "Change default security settings" And MySQL won't prompt for the password again.

              Jm www.menendezpoo.com

              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