
Cara mengatasi MySQL Server said : Expression #1 of ORDER BY caluse is not in GROUP BY clause and contains nonagregated column, which is not functionaly dependent on columns in GROUP BY clause, this is incompatible with sql_mode=onlyfull_group_by
solusi :
edit /etc/mysql/my.cnf
tambahi [mysqld]
sql_mode = “STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”