You’re correct; this limit exists on the MySQL server side, and cannot be overridden. Sorry.
We do not recommend that you use MySQL databases for file storage. Uploaded files should generally be stored as files on the web server, not in a MySQL database. The MySQL server often doesn’t have as much storage available as the web server, and cannot deliver it to users as quickly as the web server can.