I want to save files to my MySQL database.
Could I get the byte array from the file and store it in the database? Or is there any other way to save a file derectly in a MySQL database?
What field type should I use to save a byte array to mysql and please give me an example query of how to insert an byte array