Problems with navicat and MYSQL5.7
怪我咯
怪我咯 2017-05-18 10:46:38
0
1
977

Scenes

Run the insert statement in navicat's query interface to report an error, such as the following statement

insert into tb_messagepermission(messageID,employeeID) values(16,3321)

mistake

[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

Solution

method one

Don’t worry, it has been successfully run in MYSQL and the corresponding content exists

Method 2

Upgrade navicat, or run SQL directly under the MYSQL command line without navicat.

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all (1)
大家讲道理

Judging from your error message, the error should not be caused by your insert statement, but by a subsequent select statement. The reason is the setting problem of sql_mode

Reference[](http://m.blog.csdn.net/articl...

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!