Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mysql dump failure

Discussion in 'Database Discussion' started by jimlongo, Oct 23, 2012.

  1. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    211
    Likes Received:
    10
    Trophy Points:
    68
    after upgrading to mysql 5.5.27 my cron jobs are failing with the following error

    CRON
    Code:
    $command = "mysqldump --add-drop-table -u $dbuser --password=$dbpwd $dbname | gzip  > $filename";
    ERROR
    Code:
    mysqldump: unknown variable 'default-storage-engine=MyISAM'

    here is the top section of my.cnf
    Code:
    [mysqldump]
    quick
    max_allowed_packet=16M
    default-storage-engine=MyISAM
    innodb_file_per_table=1
    Thanks for any help.
    jim
     
  2. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    211
    Likes Received:
    10
    Trophy Points:
    68
    This seems to fix the dump process

    Code:
    [mysqldump]
    quick
    max_allowed_packet=16M
    #default-storage-engine=MyISAM
    #innodb_file_per_table=1
    
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice