Jump to content
  • 0
Pusteblume

fluxcp item page error

Question

Hello dears,
I get the following error:
[2019-05-31 20:50:11] [SQLSTATE=42000] Err 1055: Expression #12 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'rathena.cp_itemshop.cost' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
I have read that this error is common in mysql 5.7. Everything else works but I need mysql 5.7 for other projects, so I can't change the version. Is the problem solvable? Can anyone help me? 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
12 hours ago, Pusteblume said:

Hello dears,
I get the following error:
[2019-05-31 20:50:11] [SQLSTATE=42000] Err 1055: Expression #12 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'rathena.cp_itemshop.cost' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
I have read that this error is common in mysql 5.7. Everything else works but I need mysql 5.7 for other projects, so I can't change the version. Is the problem solvable? Can anyone help me? 

Try to change sql config, write this in sql console:
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
It`s should be slove your problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.