Report this

What is the reason for this report?

WordPress Local to Droplet online

Posted on April 21, 2017

Hi,

I’ve create a one click app’ Wordpress, put my own theme on the wp, export my database,

But how I can connect the database ? How I can migrate from local to online droplet with my template and my database

I need to put my wordpress tomorrow, so if you have the answer please tell me !!! :)

I’ve pass all that day on it !!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

As you have Wordpress already installed what you could do is to upload your wp-content folder only, you could do that with FileZilla:

https://www.digitalocean.com/docs/droplets/how-to/transfer-files/

After that export, your database from your local environment, upload it again with FileZilla, and then follow the steps here on how to import your backup to your MySQL server running on your Droplet:

https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-in-mysql-or-mariadb

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.