When I was brushing the mysql topic today, I encountered a 1055 error, and found an article that can solve the problem, and I specifically recorded
the source of this article is https://blog.csdn.net/qq_37253891/article/details/99731476
To set sql_mode,
you can set sql_mode by modifying the configuration file, so that the value of sql_mode will not change after the database is restarted.
First find the my.ini file.
Insert a picture description here to
open the file, and add under [mysqld]:
I only removed ONLY_FULL_GROUP_BY here. If it doesn't work in **[mysqld]**, add it at the bottom.
Then restart the mysql service.
Restart the mysql service method: open cmd as an administrator, enter net stop mysql, and then enter net start mysql after mysql stops, and then restart Navicat