Brumpost
  • Best Products
  • News
  • How Tos
  • Reviews
  • Deals
  • TirePost
  • COVID-19
No Result
View All Result
Brumpost
Home How Tos BP-Hack

How to import/export MySQL database

Quick and easy guide to ensure data safety

by Ret SILO
2 years ago
in BP-Hack
Share on FacebookShare on TwitterPin It

The word Export or Import database could be somehow too technical for the new guy in web Dev world. Many people don’t even know where the database is located or how to even access it or what it really is. But since we all need to learn, that’s what this video is for.

Previously I wrote an article about how to create a Database and access it in PHPMyAdmin*** And so today, we’ll be talking about how to import/export databases.

The first thing to do is if you aren’t able or unfamiliar with the PHPMyAdmin, you can read my intro to PHPMyAdmin here**** to get you kick started. But here, I’ll take the task one after the other. So…

RelatedPosts

No Content Available

The text is a guideline for the video so watch and read to get better understanding of the MySQL database.

#1. Exporting Database

To export your database tables or a table, all you need to do is simple. Firstly, login to your Dashboard (C-Panel or Your Webpabel if Dreamhost) and then look around for your MYSQL or Database area.

DON’T MISS OUT AGAIN!
Get all the latest about tech trends in your mailbox every morning
FREE SIGN UP
By signing up, you agree to BRUMPOST Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.

If you use Dreamhost, you can find that under the collapsible Menu Goodie >> Manage Database. In IPage, click on MySQL databases and then look for the exact database you want to work with.

Assuming you had created a database with the Name “MyTestDB” then hover on it and when the PHPMyAdmin option shows, click on it.

In the case of Dreamhost, that is already set in front of the database so you don’t need hovering. Ones you are logged in or your Database structures shows up, simply look for the exact table you want to export and then click in it.

Bit assuming you want to move your website to another server and needs your database, then you might want to check all tables without omitting any of them.

Now, the next thing is look for the export button and then click it. Depending in your client, you might be prompted where you want to export the database.
Note: Before you flick on Export button, you need to first of all click on the type of file you wanna save the database with. You could save it as a “.SQL” file or “.ZIP” or any other format presented to you depending in your host’s file manager.

HostGator Web Hosting
ADVERTISEMENT

But remember that the .SQL file is the raw file of the MySQL database while the .zip us the compressed version. The key reason for compression is that many database importer won’t allow you to import more than a set value e.g “8mb” so exporting a very large .SQL database could be useless so you’ll need it compressed.

2. Importing Database

Now, assuming you have created your http://www.sample.com website a host and you want to move it back to your new host server, this is what the importation does.

Rather than having to restart the months or weeks of development just to suit your very need. Aside from Drupal or WordPress or any other CMS, there are some scripts that doesnt allow or are unable to create databases all by themselves during installation and so you might be needing to import in those tables into a new database or an empty one and point it to the Config.php files of those scripts.

But either way, our main focus here would be importing the database. So all you need to do just you’ve done before is look for the import Tab and then click on it.

After that, you’ll see the new interface where you can simply browse the directory where you’ve uploaded your exported database.

Now, click in it and then click on the go button. After waiting for some moments depending on your network’s speed, you should see a green success above the page and so to confirm the importation, click on the Browse button and then see your tables.

In some other cases, you might want to import a database table into an existing database let’s take for example, sometimes while working on a new WordPress install, I initially installed the mailpoet plugin but later deleted it for mailchimp.

Later on, I decided to have them both together to experiment but because I have deleted all the tables of the Mailpoet from my database, I couldn’t do anything.

Mailpoets can’t recreate another table so I had to export those mailpoet tables from my localhost WordPress install and then uploaded them into my existing server new WordPress.

So if you want to do something like that, you just need to be able to locate where exactly to import that or those tables and then import it directly in there with the click of the Import button rather than using the import tab which serves as the interface for bulk importing.

Like the Mailpoet databases, they are all in the open table like every other WordPress tables rather than being in the WP_Option table (WP_ ) is just a prefix.

So now you can just try that and get more familiarity with the PHPMyAdmin interface as it would help your relationship with your database.

Secure your database tables with powerful passwords because your website can be hacked straight from the DB and not necessarily from the website administrative panel itself.

Tags: Beginner GuideMySQL

Related Posts

BP-Hack

Tips and tricks to help you navigate GMail easily

by Ret SILO

From sending proposals to clients, stakeholders as well as colleagues, every single day, millions of emails are being sent through the Gmail service which is the biggest email service in...

Read more

How to correct Windows 10 saving images as JFIF

Here is how to easily AirPlay your iPhone to a PC

Everything you should know about washing reusing your face mask

Do this if your MacBook’s webcam is horrible during Zoom conference

Interesting features of Zoom you probably didn’t know

Leave a Reply Cancel reply

Latest deals

  • Bakeey 60W PD3.0 Wireless Charging Power Bank $67.60 $62.40
  • HAGiBiS 2.4G+5G Display HDMI TV Dongle $76.00 $62.40

BEST STUFFS

Our team of experts singles out the best of the best products from the pack so you don't go through the stress

BRUMPOST DAILY

Get everything tech-related first all for free on the daily basis directly in your mailbox as a subscriber

DEALS HUNTER

We go around the web and best stores to get you the best deals on awesome products on the daily basis
  • About Us
  • Advertise
  • Contact Us
  • Career
  • Mobile
  • Write for us
  • Newsletter
  • FAQ
  • Terms
  • Cookie Policy (US)
(C) 2020 Brumpost Media, LLC. All Rights Reserved
No Result
View All Result
  • Tech News
    • Industry News
    • Gears & Gadgets
    • Sci-Tech
    • Culture
    • Enterprise
    • Rumors
  • Products Review
    • Smartphones
    • Smartwatches
    • Bluetooth Speakers
    • Connected Home
    • Headphones
    • PC & Computers
  • “How-to” Guide
    • Apps/Software
    • BP-Hack
    • Gadgets
    • Internet
  • Deals & Promotions
    • Accessories
    • Appliances
    • Beauty
    • Headphones
    • Home Appliances
    • PowerBank
    • Apps & Software
    • Autodeals
    • Office Equipment
    • Computers and PCs
    • Digital Cameras
    • Home Appliances
    • Smartphones
    • Clothings
    • Under 100
    • Wearable
    • Webhosting
  • Tirepost
    • Best Cars
    • Car Reviews
    • Green
    • Latest News
    • Autodeals
  • The Bargainer
  • Videos
  • Pictures
  • COVID-19 Monitor
  • Phone Finder
  • Gift Guide
  • Specifications
  • Best Products

©Copyright 2018 Brumpost Media, Inc.

Login to your account below

Forgotten Password? Sign Up

Fill the forms bellow to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
DON’T MISS OUT AGAIN!
GET THE LATEST UPDATES IN YOUR INBOX EVERYDAY
FREE SIGN UP
By signing up, you agree to BRUMPOST Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
DON’T MISS OUT AGAIN!
Get all the latest about tech trends in your mailbox every morning
FREE SIGN UP
By signing up, you agree to BRUMPOST Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Sign-up for exclusive content. Be the first to hear about Brumpost Tech news.
Subscribe
close-image

WE'VE GOT BUNCH OF COOKIES HERE!

Brumpost uses cookies to enhance your experience and by continuing to use the website, you are giving consent to those cookies being used. To learn more, click below
COOKIE POLICY
close-link
Click Me