Page 15 of 33 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 325
  1. #141
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Quote Originally Posted by DrByte View Post
    Could be that your database password (in DB_PASSWORD) contains a special character that's not translating well when the backup drops out to the command-line and passes the password parameter to do the database export. Anything in there like a $ or # or back-tick or quote/apostrophe or * or & might be problematic, depending on your server operating system.
    Thanks DrByte!

    That was exactly it. I removed the special characters from the database password and now it works . . . Success: The database has been saved.

  2. #142
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    605
    Plugin Contributions
    0

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    I just installed this, and verified that all the files were uploaded into the correct directories. I'm not seeing 'Database Backup-MySQL' in Tools (or anywhere else). I not only refreshed Zencart, but exited and reloaded it. What else do I need to do?

  3. #143
    Join Date
    Jul 2012
    Posts
    16,796
    Plugin Contributions
    17

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Quote Originally Posted by HeleneWallis View Post
    I just installed this, and verified that all the files were uploaded into the correct directories. I'm not seeing 'Database Backup-MySQL' in Tools (or anywhere else). I not only refreshed Zencart, but exited and reloaded it. What else do I need to do?
    When say all files loaded to the correct directories, can you clarify what this means without giving away your secret admin directory? If all of the files were loaded to where they ought to go, then the option would appear on the admin. Unfortunately this plugin like one other I know of tends to be incorrectly installed into the catalog's directory path rather than the admin's directory path.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #144
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    605
    Plugin Contributions
    0

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    The instructions say: "INSTALLATION: Upload all files from the "admin" folder of this ZIP as-is to your server, retaining folder structures.

    Nothing about uploading them into the admin folder. And the "admin" folder in the installation package only stipulates whether or not you're loading it into a 1.3 version or a 1.5 version. But yes, each version folder name starts with admin_zencart. I'm as literal as any other programmer, and I didn't take that to mean it was supposed to go into the YOUR_ADMIN folder.

    Guess I should have figured that out, though, since it's an admin tool. I'll put the files in my admin folder.

    Thanks.

    And uh, yeah. The backups folder is in the admin file. Definitely should have figured that one out. Running on coffee and doughnuts right now.

    And it appears to have worked.

    Thanks again!
    Last edited by HeleneWallis; 17 Jul 2016 at 09:22 PM.

  5. #145
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Just make sure you make a run-through and verify that the backup generated will actually restore

    I used one of the zencart backup plugins for quite a while until I needed to restore and none of the backups would restore. From that day 'til present, I only make database backups via phpMyAdmin
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  6. #146
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Quote Originally Posted by RixStix View Post
    Just make sure you make a run-through and verify that the backup generated will actually restore

    I used one of the zencart backup plugins for quite a while until I needed to restore and none of the backups would restore. From that day 'til present, I only make database backups via phpMyAdmin
    I can second that, only using phpMyAdmin these days for b'ups.

  7. #147
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,744
    Plugin Contributions
    30

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    only using phpMyAdmin these days for b'ups.
    Not always to be trusted either...without checking.
    https://community.apachefriends.org/...c.php?p=247543

    I always use (locally) the latest version of phpmyadmin and for the last two versions it would not restore its own backup. The current version is fixed.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  8. #148
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    605
    Plugin Contributions
    0

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    I backup with phpMyAdmin also, and download it to the server in the office.

    But I have a different problem now. I wanted to do a restore, and as soon as I clicked on the file that I wanted to restore, I was taken back to the login screen, and nothing would let me back in except restarting the program. Neither my regular login nor the master login would work. I've tried it multiple times, and it doesn't appear to be possible to do a restore through this plugin. I can do it with phpMyAdmin, but not everyone coming after me is going to be able to figure that out. I need to have all the utilities available to someone who isn't able to do more than follow directions. Pretty disappointed.

  9. #149
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Quote Originally Posted by HeleneWallis View Post
    I backup with phpMyAdmin also, and download it to the server in the office.

    But I have a different problem now. I wanted to do a restore, and as soon as I clicked on the file that I wanted to restore, I was taken back to the login screen, and nothing would let me back in except restarting the program. Neither my regular login nor the master login would work. I've tried it multiple times, and it doesn't appear to be possible to do a restore through this plugin. I can do it with phpMyAdmin, but not everyone coming after me is going to be able to figure that out. I need to have all the utilities available to someone who isn't able to do more than follow directions. Pretty disappointed.
    That's odd. I used it for a restore last week, without those symptoms.
    Does it do the same redirect when you do a backup? Or only when you attempt a restore?
    Any errors logged in the /logs/ folder?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #150
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    605
    Plugin Contributions
    0

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Backing up appears to work fine. But if I click on any of those backups, or if I click on restore, the program goes back to the login screen, and the login doesn't work. No errors were generated.

 

 
Page 15 of 33 FirstFirst ... 5131415161725 ... LastLast

Similar Threads

  1. Backup MySQL Database vs using cPanel backup option?
    By IronMan101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jul 2007, 08:46 AM
  2. Database Backup Manager - MySQL
    By sicness in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 7 Aug 2006, 09:42 PM
  3. Backup MySQL Database failure
    By JFD in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 3 Jun 2006, 06:55 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR