Page 9 of 33 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 325
  1. #81
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Backup MySQL Database

    Quote Originally Posted by blag View Post
    Hi

    I am puzzled by this: the database I created is defined by the host as being version 5.0.21 - I was given an option as to whether I wanted version 4 or version 5 of MySQL database, and chose version 5.
    Is the reference to the version of MySQL dump, rather than for the whole database?
    /usr/bin/mysqldump Ver 6.6 Distrib 3.22.29, for sun-solaris2.7 (sparc)
    [/QUOTE]
    Yes, that was quoted from the utility's help text which you posted earlier. It has no reflection on the version of your database.

    The contribution will backup v3.23, v4.x, and v5.x databases, as long as the mysqldump utility installed on the same webserver as your site matches the database engine version.

    Perhaps ask your host two questions:
    1. What versions of mysqldump are available on your server
    2. What is the path where the mysqldump binary resides -- which matches the MySQL version your hosting plan is configured to use.
    (ie: maybe your host has multiple versions of MySQL installed, and the default path picked up by the plugin is grabbing the oldest one, thus causing you this trouble.)

    If you cannot use the plugin because your server's resources are not up to date, you can easily do backups using phpMyAdmin instead.
    .

    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.

  2. #82
    Join Date
    Aug 2006
    Posts
    197
    Plugin Contributions
    1

    Default Re: Backup MySQL Database

    How do I make a secure connection while using the "Download without storing on server* *(Safer via a secured HTTPS connection)" option?

    Do I just type https: into the address bar instead of http:? Even when I do this I am still warned that I am sending info over an unencrypted connection.

    Thanks,

    Nate

  3. #83
    Join Date
    Aug 2006
    Posts
    197
    Plugin Contributions
    1

    Default Re: Backup MySQL Database

    One other dilemma: when I run the mod with the "No Compression (Pure SQL)" option selected I still get a gzipped file. Am I doing something wrong?

    Thanks,

    Nate

  4. #84
    Join Date
    Jul 2006
    Posts
    213
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Quote Originally Posted by DrByte View Post
    two possible causes:

    1. your database server isn't localhost, and thus it cannot connect to remote server
    2. your webserver's command-line configuration for mysql client isn't fully complete, hence the charset warnings etc.

    These are common symptoms of clustered hosting setups where the server administrator hasn't considered the need for command-line tools to be available to access the database from the webserver.

    Hopefully your host can handle the error and make the required corrections. You'll have to report the issue to them.
    I am trying to use this Backup MySQL module on a shared hosting site on GoDaddy and getting the same error as Goshawk While the GoDaddy tech support team have tried to help me they seem to have run out of ideas.

    1. MySQL 5.0 database is on a separate server. The server/version info tool reports the locations correctly, so ZenCart knows where the db resides.
    2. the path to the MySQL client is shown as /usr/local/mysql-5.0/lib/. I tried putting that in the defines in admin/languages/english/backup_mysql.php. Same error.
    3. I tried putting the base path /usr/local/mysql-5.0/lib/, and also /includes/ and /bin/ in place of /lib/, in the path search string in admin/backup_mysql.php. Same error.

    What am I missing here?

  5. #85
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Backup MySQL Database

    I've not yet seen a GoDaddy setup where this tool can be used, mostly because the client configuration doesn't seem to be able to talk to the database server -- typically a natural result of the database being hosted on a different computer.

    Your best solution is to use phpMyAdmin and do database exports:
    https://www.zen-cart.com/tutorials/i...hp?article=103
    .

    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.

  6. #86
    Join Date
    Oct 2006
    Posts
    137
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    qucik question regarding backup mysql plug in:
    I have it installed and it backs up my database, but when I select pure sql, it still backs it up as sql.gz... why is this happening? is there a way I can backup pure sql incase I need ot restore?
    [FONT=Fixedsys]We live in a rainbow of chaos ~ Paul Cezanne[/FONT]

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

    Default Re: Backup MySQL Database

    I have removed the path information from the languages file and put it in the extra_datafiles/backup_mysql.php.
    I assume this is ok?

    Why?
    I have two languages and so the defines were duplicated.
    Since this info needs to be different on a local pc and a remote server, it was a bit annoying when (Beyond) Comparing folders and files of the language files between the two sites as it flagged up the difference in the language folder due to these language files.

    I hope this add-on is core 2.0.

  8. #88
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Backup MySQL Database

    So, you've relocated it just so you have one less file to look at when comparing language files? And how often do you do language file comparisons on your site? Surely it's not daily, weekly, or even monthly!

    Nevertheless, naturally you're free to customize your copy of the addon for your own purposes on your own sites.
    .

    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.

  9. #89
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,761
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    Actually I am still customising my site and am continually comparing and uploading files from my local test pc to my server, and to a test remote server, and another version for developers to hack.

    I would have thought the paths should be considered as configuration settings rather than a language variable.
    Last edited by torvista; 18 May 2011 at 08:48 AM.

  10. #90
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Backup MySQL Database

    Quote Originally Posted by torvista View Post
    I would have thought the paths should be considered as configuration settings rather than a language variable.
    Fair enough.
    The addon was constructed with an intent to minimize the number of files involved. Most configurations never require any changes to those settings, so it's not really been an issue for the vast majority of users.
    .

    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.

 

 
Page 9 of 33 FirstFirst ... 789101119 ... 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