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!

Is mysql strict mode default or has that changed recently?

Discussion in 'Database Discussion' started by delia, Feb 5, 2016.

  1. delia

    delia Member

    Joined:
    Feb 11, 2008
    Messages:
    21
    Likes Received:
    1
    Trophy Points:
    53
    I have whmcs installed and after an upgrade, I can no longer update things. Their support says it's because I have mysql strict mode enabled. So my question is, has any cpanel upgrade recently changed this on a server? I did not deliberately choose strict mode. To my knowledge the server has always set this way. I'm on whm 54
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you let us know the contents of your /etc/my.cnf file?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    28
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Also check to see if /usr/my.cnf exists and has this setting in it. It should be:

    sql_mode = NO_ENGINE_SUBSTITUTION

    I've seen quite a few servers where this extra my.cnf exists and since it loads after /etc/my.cnf, it overwrites anything in there. You could also just delete this file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
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