Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solution to err1055 error in mysql

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the mysql err1055 error solutions, the content of the article is carefully selected and edited by the author, with a certain pertinence, for everyone's reference significance is still relatively great, the following with the author to understand the mysql err1055 error solution bar.

Mysql err 1055 error

Solution: query sql_mode in mysql, get the parameters of sql_mode, remove the only_full_group_by, copy the remaining parameters, and then paste it into the my.cnf configuration file to restart the mysql service.

Method guidance:

1.mysql-uroot-p 'password'

2.mysql > select @ @ sql_mode

| | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |

My.cnf configuration files are generally located in the / etc/ directory under the vim / ect/my.cnf, copy above and remove the only_full_group_by into the my.cnf file. Service mysqld restart (redhat linux) can restart the mysql service

Sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

Above you will find that we have turned off the only_full_group_by function. As for whether the only_full_group_by is closed or open. I looked up an answer on the Internet. I hope it will help you. Is the only_full_group_by mode of mysql on or off?

After reading the above about mysql err1055 error solutions, many readers must have some understanding, if you need to get more industry knowledge and information, you can continue to follow our industry information column.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report