Title: Upload Question??
Last modified: October 24, 2020

---

# Upload Question??

 *  [Engine44](https://wordpress.org/support/users/engine44/)
 * (@engine44)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/upload-question-3/)
 * I assume this is a fairly common scenario. You buy a domain name and hosting 
   package. You choose the WP app and setup a new clean WP site. You have previously
   designed a WP site on your own computer and need to upload it to the host using
   SFTP. When you set up the clean site on the host a database was created with 
   name and password. The site on your computer also has a database with its own
   name and password. Obviously they don’t match.
 * When you upload, is the database on the host overwritten completely. Does it 
   now have the name and password that came with the upload? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [thatwpemily](https://wordpress.org/support/users/wpemily/)
 * (@wpemily)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/upload-question-3/#post-13576526)
 * Hi, you’ll need to backup the database on the computer and import it on the new
   hosting. This is normally done via PHPmyadmin. The database wouldn’t be included
   in the files you’d move via SFTP.
 * It might be easier to use a plugin. Both of these will do the trick:
    [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)
 * or
 * [https://wordpress.org/plugins/all-in-one-wp-migration/](https://wordpress.org/plugins/all-in-one-wp-migration/)
 * If you’d like to continue with the manual move:
 * > [Moving WordPress](https://wordpress.org/support/article/moving-wordpress/)
 *  Thread Starter [Engine44](https://wordpress.org/support/users/engine44/)
 * (@engine44)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/upload-question-3/#post-13578580)
 * But when you upload the database, is the database on the host overwritten completely.
   Does it now have the name and password that came with the upload?
 *  [thatwpemily](https://wordpress.org/support/users/wpemily/)
 * (@wpemily)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/upload-question-3/#post-13578673)
 * > But when you upload the database, is the database on the host overwritten completely.
 * I’m not sure I completely understand your question, but you can’t upload the 
   database as you would files, so you wouldn’t be able to overwrite anything database
   related via FTP. You would need to create a new database on the new server and
   import your database backup into it.
 * > Does it now have the name and password that came with the upload?
 * No, but you should be able to stay consistent with the db name and credentials
   when you set up the new database and import your backup. You can typically change
   your database user/pass in the hosting interface.
 * If you do end up changing the database name or user/password, you can always 
   just update your wp-config.php with the new db name, user, and password:
    [https://wordpress.org/support/article/editing-wp-config-php/](https://wordpress.org/support/article/editing-wp-config-php/)
 *  Thread Starter [Engine44](https://wordpress.org/support/users/engine44/)
 * (@engine44)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/upload-question-3/#post-13579844)
 * Thanks. You seem to be saying that the existing database is not overwritten but
   replaced. The new uploaded database wouldn’t have the same name as the original
   but you could make it the same if you choose.
 *  [thatwpemily](https://wordpress.org/support/users/wpemily/)
 * (@wpemily)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/upload-question-3/#post-13581970)
 * You’re welcome. Yeah, that sounds more like it.
 * If doing things the easy way is a priority at all, I recommend using a plugin
   to move the site from your computer to the hosting space. Those two from the 
   earlier post will move everything including the database for you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Upload Question??’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 5 replies
 * 2 participants
 * Last reply from: [thatwpemily](https://wordpress.org/support/users/wpemily/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/upload-question-3/#post-13581970)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
