@arend.danielek, good to know it is working. I asked above question so that I can guide you. I also use Amazon AWS servers, You export db (using mysqldump command) and then import db should work.
Most of the shared hosting provider use cPanel, it is easy user interface. You can click and export db from control panel.