çalışmış değil benim yaptığım hatadır NeGroupBy sorgu aşağıda sorgu kullanıyorum laravel sorgu oluşturucu
Warning: Creating default object from empty value in /var/www/html/laravel_demo/query_builder/db_config.php on line 40
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'hbmp_hims.developers.iDeveloperId' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by' in /var/www/html/laravel_demo/query_builder/illuminate/vendor/illuminate/database/Connection.php:333 Stack trace: #0 /var/www/html/laravel_demo/query_builder/illuminate/vendor/illuminate/database/Connection.php(333): PDO->prepare('select `iDevelo...') #1 /var/www/html/laravel_demo/query_builder/illuminate/vendor/illuminate/database/Connection.php(662): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'select `iDevelo...', Array) #2 /var/www/html/laravel_demo/query_builder/illuminate/vendor/illuminate/database/Connection.php(629): Illuminate\Database\Connection->runQueryCallback('select `iDevelo...', Array, O in /var/www/html/laravel_demo/query_builder/illuminate/vendor/illuminate/database/Connection.php on line 669
.
Not: iDeveloperId
önceden vFirstName
teşekkür yerine kullanıldığında bunun
cevabı var ama mod aşağıdaki benim MySQL veritabanı gösterileri ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_AUTO_CRE ... –
@@ sql_mode ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_AUTO_CRE ... , çözüm nedir Not: benim veritabanım 5.7 sürümü herhangi bir sorun var –
herhangi bir çözüm var mı ???????/ –