pass through mysql err to remote caller
result is raw jsonized byte array
only work with php, but row data type is lost