mysql.dart icon indicating copy to clipboard operation
mysql.dart copied to clipboard

Error Handling Image stored in longblob field

Open barclay2506 opened this issue 1 year ago • 3 comments

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

barclay2506 avatar Dec 13 '23 19:12 barclay2506

any update about that?

unleed-l avatar Apr 03 '24 08:04 unleed-l

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

barclay2506 avatar Apr 10 '24 14:04 barclay2506

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

Bro, i'm trying to use galileo_sqljocky5, but connection throws this error: flutter: SocketException: Socket has been closed

Do you know how can i fix?

unleed-l avatar Sep 06 '24 16:09 unleed-l