Skip to content
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

Minimum version of mariadb required #11

Open
anibalpacheco opened this issue Jan 10, 2021 · 1 comment
Open

Minimum version of mariadb required #11

anibalpacheco opened this issue Jan 10, 2021 · 1 comment
Assignees

Comments

@anibalpacheco
Copy link
Contributor

Check the minimum version needed of mariadb, (10.5.1 is ok)

@anibalpacheco anibalpacheco self-assigned this Jan 10, 2021
@yzeballos
Copy link

MySql version 8.0.22 probably is not enough, because on main page load, an error like this will arise:

DatabaseError at /
(1055, "Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'ldsocial_ene_2021.core_edition.date_published' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by")

Nevertheless there is a way to bypass this, set sql_mode (sql runtime variable) to blank:
$ mysql -u root -p
mysql> SET GLOBAL sql_mode = '';
This is not recommended of course (further information: https://codeascraft.com/2013/03/19/the-perils-of-sql_mode/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants