JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Dictionary Solution / Fix Bug
PHP
Database
VCS ( Git )
Json
FullStack
Queue / Antri
Devops
More
Share
Explore
Database
❌ ERROR
this is incompatible with sql_mode=only_full_group_by pada MySQL
✔ Solved
Type in Laragon→mysql→my.ini
[mysqld]
# ... other stuff will probably be here
sql_mode = "STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
❌ ERROR
SQLSTATE[42000]: Syntax error or access
violation
: 1055
✔ Solved
DB::statement →
Link
REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
Ctrl
P
) instead.