Need help working with SQL database

Wanted an application to upload an offline SQL database to an Online database, just by a click of abutton.
The application should aupload data generated by aprogramme working offline, then the data uploaded to an online database whichcan be downloaded by the client side

Secutiry measures put to place