I am using group_concat()
in my Laravel 5
model's Query. In this regard I use this statement.
DB::statement('SET GLOBAL group_concat_max_len = 1000000');
It is working fine in Locally but it not working in Live online server.
Could anyone say where is the problem ??
A few further questions/answers may help us help you:
A better check would be to see if the transaction has processed successfully using a sub-sequent check request on the database, because if you have set it globally it should work for all sessions, even ones not executed by your code.
Should indicate the current group concat max length configured.
Goodluck.