--
You received this message because you are subscribed to the Google Groups "Open Source CAD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-source-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-source-cad/39982ba1-b2d6-4c68-aff5-6f3cb2cda10dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-source-cad/f5e41e26-5e86-4d57-8ed3-c2eee7f445fen%40googlegroups.com.
I installed CAD 3.4 twice. The first time was to upgrade the existing installation and the second time was a complete fresh install including recreating the mySQL DB. Both times I could not get it to work.
After doing some testing and playing with the code and reviewing debug information, I found we were getting mySQL errors, specifically an error related to "this is incompatible with sql_mode=only_full_group_by".
After reviewing the mySQL manuals, I found that this mode was turned on by default in versions 5.7.5 and above. We are running 5.7.38 mySQL.
The default SQL mode in MySQL 5.7 includes these modes: ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, and NO_ENGINE_SUBSTITUTION.
These modes were added to the default SQL mode in MySQL 5.7: The ONLY_FULL_GROUP_BY and STRICT_TRANS_TABLES modes were added in MySQL 5.7.5. The NO_AUTO_CREATE_USER mode was added in MySQL 5.7.7. The ERROR_FOR_DIVISION_BY_ZERO, NO_ZERO_DATE, and NO_ZERO_IN_DATE modes were added in MySQL 5.7.8.
https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html
https://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html
This new default mode was added to encourage more compliance with current SQL standards in coding and better handling of queries.