Page 26 of 26 FirstFirst ... 16242526
Results 251 to 255 of 255
  1. #251
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,212
    Plugin Contributions
    80

    Default Re: Backup MySQL Database

    Quote Originally Posted by g2ktcf View Post
    I am testing a site very similar to lat9 https://www.example.com/test. I am getting this error.

    0 => mysqldump: Got error: 1045: "Access denied for user '************User'@'localhost' (using password: YES)" when trying to connect
    Does your site's database password also include any "special" characters?

  2. #252
    Join Date
    Feb 2011
    Location
    Near Houston, TX
    Posts
    495
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    I saw your issues with special characters (there are three). I have plans to change that and see if that works.

  3. #253
    Join Date
    Feb 2011
    Location
    Near Houston, TX
    Posts
    495
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    After removing all special characters, this works just fine.

  4. #254
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,302
    Plugin Contributions
    9

    Default Re: Backup MySQL Database

    Quote Originally Posted by lat9 View Post
    Does your site's database password also include any "special" characters?
    speaking of special characters.....

    if your admin directory has any special characters, it seems that the following change is necessary (for backing up... around line 133):

    PHP Code:
    //from
    $dump_params .= ' "--result-file=' DIR_FS_BACKUP $backup_file '"';
    //to
    $dump_params .= ' "--result-file=' escapeshellcmd(DIR_FS_BACKUP) . $backup_file '"'
    it may be worth wild to change all instances of DIR_FS_BACKUP to $backup_directory and define said var at the beginning of the script as such:

    PHP Code:
    $backup_directory escapeshellcmd(DIR_FS_BACKUP); 
    but alas, i do not have the time or inclination at this moment for further testing.
    WCAG is here.
    cake is nice...(venmo) called the savior by the chief bottle washer...
    mxWorks on paypal

  5. #255
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,381
    Plugin Contributions
    29

    Default Re: Backup MySQL Database

    Since I have modified this to death over the years, I've set up a new repository based on this plugins history to be able to add in changes at some point.

    So please add this link to the plugin page for reporting issues:

    https://github.com/torvista/Zen_Cart-Backup_MYSQL_Plugin
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto, Product Listing Sorter...

 

 
Page 26 of 26 FirstFirst ... 16242526

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