Note that the binding parameter in working system is [ARRAY] while the binding parameter in none working system is [VARBINARY]. Both apps run again same database, mysql 8, where table has Geometry sql type column.