How do I upload a database and restore it?

First backup your current database.  Then you can login to your control panel -> Database Manager.  Create an Empty database first. After you create an empty database, you'll see a Restore function next to it. You can then restore your backup.