Is it possible to upload database that has been exported from phpmyadmin?

  • Posted on July 31, 2013
  • 212nathAsked by 212nath

I have recently got a droplet and transferred most of my website from a shared hosting company, and I want to transfer a mini-blog that requires a database. Is there anyway I can export this from phpmyadmin, and transfer it to my droplet? I believe I have installed all the necessary things - such as the MYSQL server.

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.

The easiest way would be uploading your phpmyadmin export (.sql) using the scp command (Step #2 in How to Migrate MySQL Between Two Servers) and importing it (Step #3).

Do you have SSH access to your shared hosting?

Well I have no preference, as long as it works! Which is the easiest way?