I have already tried:
return \DB::select('EXEC notes');
return \DB::select('CALL notes');
The errors I get when running the above code is:
Packets out of order. Expected 1 received 18. Packet size=101 (SQL: CALL notes())
I did a query:
SELECT @@global.max_allowed_packet
And it returned 1073741824
Increasing the max_allowed_packet did not solved the problem.
Is there any other way?