Yes, you have to move the database. The database stores your post information and many other things. On your new host you’ll need to create the new database and run an import through PHPmyadmin. Also, you’ll need to check your WP-Config file and make sure you’re using the same usernames and passwords for your database connection as well as database name and path (usually localhost).