I need to return a row in JSON, but the PDO does not seem to give full support to operations. Always the type 245 error message.
PDO :: prepare (): Unknown type 245 sent by the server. Please send a report to the developers
I tested the PDO with a simple select SELECT JSON_ARRAY('a', 1, NOW())
and I only get the error without further descriptions, nor did I find anything in the DOC. The same select on the command line in MYSQL returns what is expected:
["a", 1, "2017-07-18 00: 11: 06.000000"]
Does anyone have a reference to help solve this?