-
-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After system upgrade from 15.10 to 16.04 Ubuntu, I get sql error?? #1276
Comments
More info: When running the query manually in mysql prompt I get this error: mysql> SELECT * FROM teampass_languages GROUP BY name ORDER BY name ASC; I am no mysql/sql guru, but the column "id" does exist. |
I have the same error with a fresh installation on CentOS 7 with PHP 5.6, Percona 5.7 DB. |
Editing line 104 of sources/core.php to look as follows resolved the issue.
This is due to new behavior in MySQL 5.7 covered here: http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_only_full_group_by |
Yuppers this solution worked for me! |
Thanks for reporting and debugging 👍 |
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' label='SELECT * FROM teampass_languages GROUP BY name ORDER BY na' at line 3
Query: SELECT * FROM teampass_languages GROUP BY name ORDER BY name ASC
This si even after a re-install, of which i dropped the db and then installed fres with Ubuntu 16.04 which has php7.0 and Mysql 5.7
Any ideas?
The text was updated successfully, but these errors were encountered: