Coder Social home page Coder Social logo

Comments (5)

SidSkiba avatar SidSkiba commented on June 16, 2024

I was able to get it to startup with MySQL V5.7.44 but I had to make the following entry under [mysqld] in the my.ini file:

sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

This is apparently undesirable practice but it worked.

from opensourcepos.

jekkos avatar jekkos commented on June 16, 2024

Ah the good old only_full_group_by
Maybe we can try to set this config from the application directly, in case it detect MySQL.

from opensourcepos.

jekkos avatar jekkos commented on June 16, 2024

related to #2819, it's probably best to get rid of the only_full_group_by and review the logic to work properly.

from opensourcepos.

SidSkiba avatar SidSkiba commented on June 16, 2024

I verified it worked to disable only_full_group_by under MySQL V8.0 but I had to use a slightly different modification in my.ini:

sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"

but if the query could be fixed it would be better.

from opensourcepos.

jsiddall avatar jsiddall commented on June 16, 2024

I also got caught by this issue running on Ubuntu 20.04 which has MySQL 8.0 and can confirm that the sql-mode setting documented by @SidSkiba above works. Would be nice if this were already fixed, or perhaps better documented.

from opensourcepos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.