Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Database Backup Manager - MySQL

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

    Whats wrong ?

    Im using Zen Cart 1.3.0.2
    Win 2003 adv server R2

    Radoslav
    Negative feelings were burned by the progressive increase of Euphoria

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Database Backup Manager - MySQL

    ... "windows" is the problem.

    You could try removing the double-quote marks from the line that executes the mysqldump binary.

    around line 140 or so, try removing both double-quote marks
    Code:
            $resultcodes = @exec('"'.$toolfilename . $dump_params .'"', $output, $dump_results );
    or add this on a line above it:
    Code:
    $dump_params = str_replace('"','',$dump_params);
    .

    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
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Re: Database Backup Manager - MySQL

    thanks drByte for ur explanation and help :))
    keep the hard work to make more people have a good web projects :)


    Kind Regards,
    Radoslav
    Negative feelings were burned by the progressive increase of Euphoria

  4. #4
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Re: Database Backup Manager - MySQL

    hmm
    where i can edit the mysqldump binary. ?
    Negative feelings were burned by the progressive increase of Euphoria

  5. #5
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Re: Database Backup Manager - MySQL

    Ok i EDited the line but when I needed to restore from admin panel i get this error


    Result code: 1
    Failure: The database may NOT have been restored properly. Please check it carefully.

    what that means ?
    Negative feelings were burned by the progressive increase of Euphoria

  6. #6
    Join Date
    Aug 2005
    Posts
    202
    Plugin Contributions
    0

    Default Re: Database Backup Manager - MySQL

    i got this error :
    Result code: 2
    attention 0 => mysqldump: Got error: 1045: Access denied for user '*******'@'localhost' (using password: YES) when trying to connect
    erreur Failure: The database has NOT been saved.
    the username was correct , and i presume the mod take pass from the config file so it must be correct the shop work fine.
    any suggestion ?

 

 

Similar Threads

  1. Database Backup Manager - MySQL: problem
    By pixelwrangler in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Nov 2009, 10:25 PM
  2. Database Backup Manager - MySQL
    By tonkali in forum General Questions
    Replies: 6
    Last Post: 26 Dec 2006, 04:31 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