This isn't Perl, but here goes...
An ISP that allows you to use MySQL almost certainly will give you login access to the database server WITHOUT giving you access to the physical location on their server where the database is located. So, you won't be able to "upload the database files" anywhere... the best you'll be able to do is export your data from your local tables into a portable (tab or pipe-delimited format), upload that to your ISP, and then connect to your MySQL account and use SQL like LOAD DATA INFILE to import your table data from the flat file to the ISP's database.
For more details on how to do this (and, in fact, to learn just about everything there is to know about MySQL) check out the MySQL online manual.
Gary Blackburn
Trained Killer