How to upload images to RDS MySQL without using S3 bucket

Viewed 21

Application uses UPLOAD_FILE function to upload files to the database. After migration to Amazon RDS, it isn't possible to use this built-in function, because amazon limited it. If MySQL's variable secure_file_prive is set, there is only one option to upload files - firstly put them in folder, what path is value of secure_file_prive. Because Amazon set this variable to /rdsdbdata/tmp, I must OR change this value OR put files there, but I don't know how to do that.

What solutions do I have?
P.s I don't want to use S3


UPD: secure_file_priv blocks uploading images outside

0 Answers
Related