The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysql dump failure

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

  1. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    145
    Likes Received:
    2
    Trophy Points:
    18
    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:
    145
    Likes Received:
    2
    Trophy Points:
    18
    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