Skip to main content

Is mysql strict mode default or has that changed recently?

Comments

2 comments

  • cPanelMichael
    Hello :) Could you let us know the contents of your /etc/my.cnf file? Thank you.
    0
  • vanessa
    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.
    0

Please sign in to leave a comment.