Skip to main content

A problem after upgrading databases in a vps server

Comments

4 comments

  • ffeingol
    Between MySQL V5.5 and 5.7 MySQL started enforcing "strict mode". That may cause some SQL to fail. You can set the sql_mode = "" in /etc/my.cnf by adding: sql_mode="" Or updating it if the sql_mode already exists in your my.cnf. Once you have made the change to /etc/my.conf (I'd suggest backing up the file before modifying it), you'll need to restart MySQL.
    0
  • syriasea
    Between MySQL V5.5 and 5.7 MySQL started enforcing "strict mode". That may cause some SQL to fail. You can set the sql_mode = "" in /etc/my.cnf by adding: sql_mode="" Or updating it if the sql_mode already exists in your my.cnf. Once you have made the change to /etc/my.conf (I'd suggest backing up the file before modifying it), you'll need to restart MySQL.

    Thank you .. I added sql_mode = "" " And it has been updated .. And now it works fine
    0
  • cPanelLauren
    Glad to see you were able to get this resolved - thanks @ffeingol
    0
  • ffeingol
    Personally I'd say this is a band-aid, not a fix. The software that you're using should really be corrected/re-coded to work properly with MySQL.
    0

Please sign in to leave a comment.