Transferring a WordPress site from one host to another involves three steps. The first one is transferring your WordPress files, the second is moving your WordPress database and the third step is to configure your WordPress wp-config.php file.
https://webhostface.com/kb/kb/knowledgebase/how-to-upload-files-using-filezilla/
*Note you must upload your WordPress files in the Public_html folder as this is normally your hosting root directory.
https://webhostface.com/kb/kb/knowledgebase/export-database-through-phpmyadmin/
https://webhostface.com/kb/kb/knowledgebase/import-database-through-phpmyadmin/
With this you have completed the first two steps in the transfer process. Now you have your WordPress moved over, but when you access it you should see an error that MySQL database connection could not be established.
// MySQL settings – You can get this info from your web host
//The name of the database for WordPress */
define(‘DB_NAME’, ‘Database Name‘);
//MySQL database username
define(‘DB_USER’, ‘Database User‘);
//MySQL database password
define(‘DB_PASSWORD’, ‘Password‘);
The new database details are the ones you have set in step 3.