I’m sorry, I don’t think I understand. Can you or can’t you upload your image to the host?
Do you know the difference between uploading a file and inserting it into the database?
So you already know that the problem is in Mysql? So it must be a Mysql bug, right? I think there is a support on the Mysql website that addresses these bugs.