Moving a database from a previous hosting provider

First, you need to create an SQL dump file from your old hosting provider server. Once you have the database SQL dump file, you need to create a database on our server and import the file in it. (see our Creating a MySQL database/user and Importing a database articles).