Skip to main content

disable strict mode

Comments

4 comments

  • GOT
    Putting this in your my.cnf would do it sql_mode=NO_ENGINE_SUBSTITUTION But you are correct, there are a number of different ways, but most involve that line.
    0
  • cPanelLauren
    The suggestion provided by @GOT is the most commonly used
    0
  • keat63
    I've seen various threads also pointing to the location of my.cnf, with differing opinions. Mine currently resides in /etc, and only contains 9 lines. Is this correct ? I assume, the file will reside in the same location after the update ?
    0
  • cPanelLauren
    Hi @keat63
    I've seen various threads also pointing to the location of my.cnf, with differing opinions. Mine currently resides in /etc, and only contains 9 lines. Is this correct ? I assume, the file will reside in the same location after the update ?

    While you could have per user .my.cnf files in other locations the primary config file will always (or should always) be in /etc/
    0

Please sign in to leave a comment.