Question

WordPress Local to Droplet online

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 !!


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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