Only_full_group_by <alebal web Blog> Appunti di PHP, MySql, javascript, Css, HTML, HTML5 e altro...

[Only_full_group_by]

Disabilitare sql_mode=only_full_group_by in Ubuntu 16.04

Con le nuove versioni di mysql in ubuntu 16.04 capita di ritrovarsi questo errore: <b>Fatal error</b>: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated...

https://www.alebalweb-blog.com/64-disabilitare-sqlmodeonlyfullgroupby-in-ubuntu-16-04.html