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.

While backup ERROR: Invalid MySQL version

Discussion in 'Data Protection' started by danitfk, May 10, 2015.

  1. danitfk

    danitfk Registered

    Joined:
    Feb 18, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello ,
    I have a cpanel server with MariaDB 10.0 , But While I ran pkgacct for accounts I got these error:

    Code:
    [2015-05-10 09:34:38 +0430] Determining mysql dbs.../usr/bin/mysqldump: unknown variable 'innodb_use_sys_malloc=1'
    [2015-05-10 09:34:39 +0430] ...mysqldump version: ...[2015-05-10 09:34:39 +0430] ...mysql version: 10.0...[2015-05-10 09:34:39 +0430] Saving mysql privs...[2015-05-10 09:34:39 +0430] Done
    /usr/bin/mysqldump: unknown variable 'innodb_use_sys_malloc=1'
    Invalid MySQL version: “” at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 32.
    root@de1 [/backup]# nano /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm
    
    Where is problem?
    I must shift to MySQL again? WT*?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You will need to remove the following entry from /etc/my.cnf and then restart MySQL:

    Code:
    innodb_use_sys_malloc=1
    It's not supported in the version or MariaDB installed on your system (it was previously deprecated).

    Thank you.
     
Loading...

Share This Page