i got some problem during open my old website. My dataTable show:
DataTables warning: JSON data from server could not be parsed. This is caused by a JSON for
I encountered this yesterday, I expected a syntax error but this message was shown.
My mistake: I wrote "SELECT m.id, m.MAX(id_number) as id_number..." instead of "SELECT m.id, MAX(m.id_number) as id_number...".... the error is with the MAX. The error message wasn't too helpful.
It works.....
I try to grant this priviledge in root
.
root
GRANT EXECUTE ON PROCEDURE TestMediaControl.monthavrage TO 'jeinqa'@'localhost'
flush privileges;
I have encountered this in phpMyAdmin, a few hours ago, when executing a stored procedure with what I thought would be detected as a syntax error.
I was missing a comma between a field name, and a calculated field, and this gave me the same error message.
Very late to the party also try a combination of.
GRANT EXECUTE ON PROCEDURE TestMediaControl.monthavrage TO 'jeinqa'@'%';
AND
flush privileges;
Also try replacing PROCEDURE with FUNCTION.