Access system error after MySQL upgrade to 5.7.31.
Solution:
Modify /etc/my.cnf
file at the bottom to append :
[mysqld]
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Modify /etc/my.cnf
file at the bottom to append :
[mysqld]
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Similar Posts:
- Solve the problem of grouping error expression #1 of select list is not in group for MySQL greater than version 5.7
- MYSQL Insert: SQLSTATE[HY000]: General error: 1364 Field ‘xxxxx’ doesn’t have a default value
- SELECT list is not in GROUP BY clause and contains nonaggregated
- [Solved] MYSQL Command gruop by Error: this is incompatible with sql_mode=only_full_group_by
- [Solved] MYSQL8 group by Error: Cause: java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY
- [Solved] MySQL Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre
- MySQL Error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column
- incorrect integer value for column [How to Solve]
- SELECT list is not in GROUP BY clause and contains nonaggregated column
- [Solved] SELECT list is not in GROUP BY clause and contains nonaggregated