zim32 / mysql.dart

MySQL client for Dart written in Dart
BSD 3-Clause "New" or "Revised" License
64 stars 17 forks source link

Error Handling Image stored in longblob field #61

Open barclay2506 opened 6 months ago

barclay2506 commented 6 months ago

I am trying to fetch an image stored in longblob field from mysql and throws an error that puts: "FormatException: Invalid UTF-8 byte (at offset 0)" the thing is that i used before another package (galileo_sqljocky5) and i could fetch the data without any problem, so i dont know why the error here, i have fetched the same image from c# and visual basic with their respective MysqlConnector so the image isnt the problem i guess. there is an image with the field definition,another with the error, another one with the code that causes it, if you need any other information let me know field definition

code_error_mysql_utils

error mysql_utils

unleed-l commented 3 months ago

any update about that?

barclay2506 commented 3 months ago

nah, still the same, had to use antoher package just to handle blob data in general, with galileo_sqljocky5 you can do it