Results 1 to 9 of 9
  1. #1
    Join Date
    May 2005
    Posts
    20
    Plugin Contributions
    0

    MySQL Backup Mod

    Hello,

    I have used this mod before and works realy well however, I have installed a new zencart and when trying to backup the database i get the following error at the top of the screen.

    Result code: 1
    0 => 'mysqldump" "--host' is not recognized as an internal or external command,
    1 => operable program or batch file.
    Failure: The database has NOT been saved.

    I have tried all backup options, download to pc and backup on server but both do not work.

    Please could someone point me in the right direction.


    Thank You

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: MySQL Backup Mod

    is this a windows host or linux?
    .

    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.

  3. #3
    Join Date
    May 2005
    Posts
    20
    Plugin Contributions
    0

    Re: MySQL Backup Mod

    this is a windows host. I hope to backup the database from the windows host then restore it onto a linux host. Is that possible also ?


    Thanks

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: MySQL Backup Mod

    Yes it is.

    The error you're experiencing is a result of how Windows interprets command-line parameters.

    If you need a faster one-time solution, you can simply use phpMyAdmin, if you have it installed on your servers:
    http://www.zen-cart.com/wiki/index.p...P_THE_DATABASE
    .

    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.

  5. #5
    Join Date
    May 2005
    Posts
    20
    Plugin Contributions
    0

    Re: MySQL Backup Mod

    Hello,

    I have it installed on my linux and windows servers, however on my windows server it is not connecting to MySQL. I am using the correct user name and passwords, and ports but I am greeted with the message below...

    Error
    MySQL said:
    #1045 - Access denied for user 'root'@'localhost' (using password: NO)

    I know this phpmyadmin error is not exactly a Zencart issue but I would be happy with any thoughts :)

    Thanks Again

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: MySQL Backup Mod

    you need to configure your phpMyAdmin config.inc file with your MySQL credentials
    .

    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.

  7. #7
    Join Date
    Jul 2005
    Posts
    115
    Plugin Contributions
    0

    Default Re: MySQL Backup Mod

    hi dr. byte - you really byte the big ones [the big important mods like backups]!

    anyway, if i get the error

    'Sorry, your security clearance does not allow you to access this resource.

    Please contact your site administrator if you believe this to be incorrect.

    Sorry for any inconvenience.'

    will this likely get resolved if i switch to virtual dedicated hosting?

    [a la >> open_basedir detection issue]

    or would this utility likely require access to all server settings ? what do you guys test on?

  8. #8
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: MySQL Backup Mod

    Quote Originally Posted by atlantis View Post

    Result code: 1
    0 => 'mysqldump" "--host' is not recognized as an internal or external command,
    1 => operable program or batch file.
    Failure: The database has NOT been saved.
    Quote Originally Posted by DrByte View Post
    ...If you need a faster one-time solution...
    I'm getting this error too. What if I want more than a faster, one-time solution? Is there a way to correct this error?

    This is the first time I've installed ZC using WAMP5 server locally. I'm new to this so please use the "dummies" explanation. I just figured I should learn how to do a test local site for experimenting purposes.

    I tried changing the paths in admin\includes\languages\english\backup_mysql.php to this...

    define('LOCAL_EXE_MYSQL', 'c:/wamp/mysql/bin/mysql.exe'); // used for restores
    define('LOCAL_EXE_MYSQLDUMP', 'c:/wamp/mysql/bin/mysqldump.exe'); // used for backups


    Thank you for any help in this area.

    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  9. #9
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: MySQL Backup Mod

    Hmm. Now I went back to log in to the Admin and the page is totally blank. I'm about ready to pull my hair out. Help.
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

 

 

Similar Threads

  1. Backup MySQL mod v1.4 - problem
    By Earnest-Enterprises in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 22 Nov 2010, 01:45 AM
  2. Use MySQL Backup Mod as transfer utility?
    By rbobzin in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 3 Jan 2008, 12:14 AM
  3. 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
  4. Backup MySQL mod - Windows 2003 problem
    By metafizx in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 2 Jul 2007, 07:29 AM
  5. Backup MYSQL Plugin - no backup button
    By mrtorrez in forum All Other Contributions/Addons
    Replies: 30
    Last Post: 29 Jun 2007, 11:13 PM

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