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.

frustrating mysql issue after upgrading to 5.6

Discussion in 'Database Discussions' started by Bashed, Apr 7, 2014.

  1. Bashed

    Bashed Well-Known Member

    Joined:
    Dec 18, 2013
    Messages:
    78
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Upgraded MySQL from 5.5 to 5.6

    Found out that "STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION" becomes standard in MySQL 5.6 (not even in my.cnf file). So, in my.cnf I added:

    sql_mode="TRADITIONAL" and restarted mysql. Didn't fix the issue. Also tried this, same.
    sql_mode="TRADITIONAL,NO_AUTO_CREATE_USER"

    EDIT: JUST FOUND A FIX.

    There is a my.cnf in /usr/my.cnf that had the strict enabled rule. I changed it to:

    sql_mode=NO_ENGINE_SUBSTITUTION
     
    #1 Bashed, Apr 7, 2014
    Last edited: Apr 7, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page