Page 8 of 27 FirstFirst ... 67891018 ... LastLast
Results 71 to 80 of 265
  1. #71

    Default Re: Backup MySQL Database

    Sorry,
    a question about Database backup.
    Which is the advantage of Installing this addon compared to do the backup from phpAdmin interface?
    If I can use phpAdmin by now, is there a best way or something to pay attention to backup zen database in order to eventually recover it ?
    thanks

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

    Default Re: Backup MySQL Database

    This contribution allows you to do backups of much larger databases.
    Using phpMyAdmin may encounter a timeout on larger databases which take a lengthy time to prepare backups with. That's the primary benefit.
    .

    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. #73
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Have a Drink Re: Backup MySQL Database

    Please take at look at this list of errors arising when I try to use the Backup MySQL database module

    0 => /usr/bin/mysqldump: unrecognized option `--result-file=/xxx/xxx/xxx/xx/www.xxxx/htdocs/xxx/xxx/admin/backups/db_DB285429-20070614200830.sql'
    1 => /usr/bin/mysqldump Ver 6.6 Distrib 3.22.29, for sun-solaris2.7 (sparc)
    2 => By Igor Romanenko, Monty, Jani & Sinisa. This software is in public Domain
    3 => This software comes with ABSOLUTELY NO WARRANTY
    4 =>
    5 => Dumping definition and data mysql database or table
    6 => Usage: /usr/bin/mysqldump [OPTIONS] database [tables]
    7 =>
    8 => -a, --all Include all MySQL specific create options
    9 => -#, --debug=... Output debug log. Often this is 'd:t:o,filename`
    10 => -?, --help Display this help message and exit.
    11 => -c, --complete-insert Use complete insert statements.
    12 => -C, --compress Use compression in server/client protocol
    13 => -e, --extended-insert Allows utilization of the new, much faster
    14 => INSERT syntax
    15 => --add-drop-table Add a 'drop table' before each create
    16 => --add-locks Add locks around insert statements
    17 => --allow-keywords Allow creation of column names that are keywords
    18 => --delayed-insert Insert rows with INSERT DELAYED
    19 => -F --flush-logs Flush logs file in server before starting dump
    20 => -f, --force Continue even if we get an sql-error.
    21 => -h, --host=... Connect to host.
    22 => -l, --lock-tables Lock all tables for read.
    23 => -t, --no-create-info Don't write table creation info.
    24 => -d, --no-data No row information.
    25 => -O, --set-variable var=option
    26 => give a variable a value. --help lists variables
    27 => --opt Same as --add-drop-table --add-locks --all
    28 => --extended-insert --quick --lock-tables
    29 => -p, --password[=...] Password to use when connecting to server.
    30 => If password is not given it's solicited on the tty.
    31 => -P, --port=... Port number to use for connection.
    32 => -q, --quick Don't buffer query, dump directly to stdout.
    33 => -Q, --quote-names Quote table and column names with `
    34 => -S, --socket=... Socket file to use for connection.
    35 => -T, --tab=... Creates tab separated textfile for each table to
    36 => given path. (creates .sql and .txt files).
    37 => NOTE: This only works if mysqldump is run on
    38 => the same machine as the mysqld daemon.
    39 => -u, --user=# User for login if not current user.
    40 => -v, --verbose Print info about the various stages.
    41 => -V, --version Output version information and exit.
    42 => -w, --where= dump only selected records; QUOTES mandatory!
    43 => EXAMPLES: "--where=user='jimf'" "-wuserid>1" "-wuserid<1"
    44 => Use -T (--tab=...) with --fields-...
    45 => --fields-terminated-by=...
    46 => Fields in the textfile are terminated by ...
    47 => --fields-enclosed-by=...
    48 => Fields in the importfile are enclosed by ...
    49 => --fields-optionally-enclosed-by=...
    50 => Fields in the i.file are opt. enclosed by ...
    51 => --fields-escaped-by=...
    52 => Fields in the i.file are escaped by ...
    53 => --lines-terminated-by=...
    54 => Lines in the i.file are terminated by ...
    55 =>
    56 => Possible variables for option --set-variable (-O) are:
    57 => max_allowed_packet current value: 25165824
    58 => net_buffer_length current value: 1047551
    Failure: The database has NOT been saved.
    I don't suppose anyone out there can shed some light on what might be causing this problem - it's troubling me greatly, so any guidance would be much appreciated?

    BTW: It would seem that backups via PHPMyAdmin work OK. The Unix server is running MySQL 5.0.21

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

    Default Re: Backup MySQL Database

    Your server's mysqldump binary doesn't support some of the required parameters.
    You'll have to use a different method to do your database backups, perhaps via 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.

  5. #75
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Default Re: Backup MySQL Database

    Quote Originally Posted by DrByte View Post
    Your server's mysqldump binary doesn't support some of the required parameters.
    You'll have to use a different method to do your database backups, perhaps via phpMyAdmin instead.
    DrByte

    Thanks for that info.

    The ability to backup the databse direct from the Admin back end is great, and I would prefer to make backups from there.

    Is there anything specific that I should ask my hosting provider to change in order to get it to work?

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

    Default Re: Backup MySQL Database

    mysqldump Ver 6.6 Distrib 3.22.29, for sun-solaris2.7 (sparc)
    You might ask them to upgrade your MySQL version.
    v3.22 is very old.
    I think the backup contribution was written based on v3.23 minimum, and is compatible thru to v5.x
    .

    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. #77
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Default Re: Backup MySQL Database

    Quote Originally Posted by DrByte View Post
    You might ask them to upgrade your MySQL version.
    v3.22 is very old.
    I think the backup contribution was written based on v3.23 minimum, and is compatible thru to v5.x
    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
    /usr/bin/mysqldump Ver 6.6 Distrib 3.22.29, for sun-solaris2.7 (sparc)
    to the version of MySQL dump, rather than for the whole database?

  8. #78
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Backup MySQL Database

    to the version of MySQL dump, rather than for the whole database?
    v3.22 for mySQL is said as is. Indeed, this is very old and would be recommended to send a support ticket to your web hosting service requesting an upgrade to the latest version released from mySQL manufacturer.

  9. #79
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Default Re: Backup MySQL Database

    Quote Originally Posted by TheOracle View Post
    v3.22 for mySQL is said as is. Indeed, this is very old and would be recommended to send a support ticket to your web hosting service requesting an upgrade to the latest version released from mySQL manufacturer.
    I am sorry to appear to be really dense, but the host is adamant that my zen cart databse files are in a MySQL database and the version is 5.0.21.

    Without wishing to be a pain - since they are adamant that this is the case - is the Distrib value of 3.22.29 referring to the mysqldump 'software'?

    I have asked fo an 'upgrade' but I am unsure as to what I am sking to be upgraded!

    bTW: It is worth noting that the Zen Cart server information enquiry output states that the mysQL version is 5.0.21!!

  10. #80
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Backup MySQL Database

    Perhaps this is about some kind of partial upgrade here since I don't see how a complete upgrade would contain two different version from one command file to another. All versions should be equally constant under each mySQL releases normally.

 

 
Page 8 of 27 FirstFirst ... 67891018 ... 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