How to back up Database via phpMyAdmin

Every time you update or upgrade your blog or website you are always being advised to back up your files and database.

You actually know how to upgrade your WordPress blog, for example, because of the WordPress Automatic Upgrade feature but you have no idea how to back up your database.

So, how would you back up your database?

There are several ways on how to back up your database but in this case I will show how to back up your MySQL database via phpMyAdmin.

How to back up MySQL Database via phpMyAdmin?

1. Locate your Databases or phpMyAdmin at the Control Panel of your account.

If you don’t know how to locate your database, read the following blog entries on how to locate MySQL Databases at the Control Panel.

How to locate Databases or phpMyAdmin at the PLESK Control Panel
How to locate Databases or phpMyAdmin at the H-SPHERE Control Panel
How to locate Databases or phpMyAdmin at the DREAMHOST Control Panel

Sometimes, you do not have to login at the Control Panel to login at the phpMyadmin.

But first, you need to find that link to your phpMyAdmin at the provided Control Panel.

2. Launch the phpMyAdmin from the Control Panel if you already found your Database or phpMyAdmin.

If you already know the link to your Database or phpMyAdmin, bookmark it for easy access.

Access the phpMyAdmin via the browser if you already know the link to your Database or phpMyAdmin.

Once you launched the phpMyAdmin or accessed the phpMyAdmin via your browser you might be required to login.

How to backup Database via phpMyAdmin

How to backup Database via phpMyAdmin

3. Type your database username and database password if you will be required to login.

Please take note that the database username and password are different from your Control Panel username and password.

4. Click the Login button.

Once you clicked the Login button, you will be redirected to the main phpMyAdmin page.

How to backup Database via phpMyAdmin

5. Click “Databases” to view your database or databases if you have more than one database.

You will be redirected to a new page where you will see your “Server:mysql” or “Server:localhost” depending on what the server is.

You will also see the menu type like Databases, SQL, Status, Variables, Charsets, Engines, Processes, Export, and Import.

You will see two columns namely the Database column and the Collation column.

How to backup Database via phpMyAdmin

I will not explain to you what those titles are all about but will only show you how to save or back up your database via phpMyAdmin.

6. Click the appropriate database name, the “database_sample” that you would like to back up.

You will be redirected to another page showing you two important things “Server:localhost” or “Server:mysql” and “Database: database_sample” above the menu type like Status, SQL, Search, Query Export, Import, and Operations.

How to backup Database via phpMyAdmin

7. Click Export among the menu.

You will be redirected to another page.

8. Check SQL and Check Select All to save all the data in your database.

9. Check Add DROP TABLE if not checked.

10. Check Add IF NOT EXISTS if not checked.

At least the four options under Structure except and before Add CREATE PROCEDURE.

11. Check Data, Complete inserts, Extended inserts, Use delayed inserts except Use ignore inserts.

Export type is INSERT.

12. Check Save as file.

Leave the File name template as it is.

13. Check None as Compression to save the database as simple text.

14. Click Go on the bottom right side corner.

How to backup Database via phpMyAdmin

Wait for it until the database file was downloaded.

Once it was downloaded, the database file has a “.sql” file extension as you checked SQL.

15. Save the file to any folder you want.

That’s it.

Now you know how to back up your database via phpMyAdmin.

What else?

You have the option to save a zipped file or a gzipped file.

Check the zipped or gzipped as Compression and follow the same procedure.

Once it was downloaded, the database file has a “.sql.zip” file extension for zipped file after the database filename like “database_sample.sql.zip” and a “.sql.gz” file extension for gzipped file after the database filename like “database_sample.sql.gz”.

What else?

Before you do this, be very careful! I would not want you to lose your data just because your server is slow.

Uncheck Save as file, check None as Compression and click Go if you would like to see the database in text format without saving it.

This is just to show you how your database looks like.

Wait until everything is visible.

If you see the text, that’s it!

What else?

Click the database name “database_sample” at “Database: database_sample” to return to the previous window if you would like to backup the database.

Click Export again, and follow the same procedure from number 1 to number 15.

Again, that’s it.

WARNING:

Do not do anything other than what I wrote here. I said, do not do anything other than what I wrote here.

Be very careful when clicking the icons, especially the empty icon, drop icon and delete icon. If you make a mistake, your database might be gone in just a few seconds.

How to locate Databases or phpMyAdmin at the DREAMHOST Control Panel

I shared with you the steps on how to locate databases or phpMyAdmin at the PLESK control panel and the steps on how to locate databases or phpMyAdmin at the H-SPHERE control panel.

Now, let me share with you the steps on how to locate MySQL Databases and/or phpMyAdmin at the DreamHost Control Panel.

Login to your Control Panel…

1. Enter your Control Panel username at the Email Address or Web ID field.

2. Enter your Control Panel password at the Web Panel Password field.

3. Click Log In button.

How to locate Databases or phpMyAdmin at the DreamHost Control Panel

You will be redirected to the DreamHost Control Panel.

Welcome

Welcome to your DreamHost Control Panel!

This is the control center of your DreamHost account. From here you can configure literally any aspect of your account in no time at all!

4. Look for Databases.

If you see Databases…

5. Click the text Databases with the icon.

How to locate Databases or phpMyAdmin at the DreamHost Control Panel

You will be redirected to another page.

MySQL Databases

MySQL Database Management

Be sure to review the MySQL documentation in our wiki!
To access a database from the command line, use:…

You will also see the text Add New Hostname with 3 columns under it, the Hostname column, Web Administration column, and Actions column.

6. Click the text phpMyAdmin under the Web Administration column of the corresponding Hostname that you would like to access.

How to locate Databases or phpMyAdmin at the DreamHost Control Panel

And You will be redirected to the MySQL and phpMyAdmin page.

If you will be required to login…

7. Enter your database username at the Name field.

8. Enter your database password at the Password field.

9. Click Log in button.

And you will be redirected to the MySQL and phpMyAdmin page.

You are now at the MySQL and phpMyAdmin page.

Warning:

Do not do anything at the phpMyAdmin unless you know what you are doing.

Take note of all the icons especially the delete icon all the time.

One mistake and your database might be gone in just one click.

To see your database…

10. Click Databases, then Database name.

That’s it!

Now that you know the link to the phpMyAdmin, please bookmark it.

Sometimes, you do not have to login at the Control Panel to access the phpMyAdmin.

You can go directly to the phpMyAdmin.

Just enter your database username and database password to access your database.

How to locate Databases or phpMyAdmin at the H-SPHERE Control Panel

Let me share with you the steps on how to locate MySQL Databases and/or phpMyAdmin at the H-SPHERE Control Panel.

Login to your Control Panel…

There are instances that H-SPHERE Control Panel looks like PLESK Control Panel.

Follow the instructions on how to locate databases and/or phpMyAdmin at the PLESK control panel.

1. Enter your Control Panel username at the Login field.

2. Enter your Control Panel password at the Password field.

3. Click Login button.

How to locate Databases or phpMyAdmin at the H-SPHERE Control Panel

You are now at the Account page. I am assuming that you only have one domain.

4. Look for Databases and phpMyAdmin.

If you see phpMyAdmin under Databases…

5. Click the phpMyAdmin icon.

How to locate Databases or phpMyAdmin at the H-SPHERE Control Panel

You will be redirected to another page where you will see the User column and Login column.

6. Select user to configure database via phpMyAdmin.

7. Click the Built in phpMyAdmin control panel icon under the Login column of the corresponding User.

And You will be redirected to the MySQL and phpMyAdmin page.

The page might be a pop-up window.

If you do not see the MySQL and phpMyadmin page, make sure that pop-up windows are not blocked.

8. Unblock the Pop-Up Windows.

9. Click the Built in phpMyAdmin control panel icon under the Login column of the corresponding User.

And you will be redirected to the MySQL and phpMyAdmin page.

If you will be required to login…

10. Enter your database username at the Name field.

11. Enter your database password at the Password field.

12. Click Log in button.

And you will be redirected to the MySQL and phpMyAdmin page.

You are now at the MySQL and phpMyAdmin page.

Warning:

Do not do anything at the phpMyAdmin unless you know what you are doing.

Take note of all the icons especially the delete icon all the time.

One mistake and your database might be gone in just one click.

To see your database…

13. Click Databases, then Database name.

That’s it!

Remember to block the pop-up windows later if you want it that way once you are finished looking at your database at the phpMyAdmin.

Also, now that you know the link to the phpMyAdmin, please bookmark it.

Sometimes, you do not have to login at the Control Panel to access the phpMyAdmin.

You can go directly to the phpMyAdmin.

Just enter your database username and database password to access your database.

How to locate Databases or phpMyAdmin at the PLESK Control Panel

Let me share with you the steps on how to locate MySQL Databases and/or phpMyAdmin at the PLESK Control Panel.

Login to your Control Panel…

1. Enter your Control Panel username at the Login field.

2. Enter your Control Panel password at the Password field.

3. Click Login button.

How to locate Databases or phpMyAdmin at the PLESK Control Panel

4. Look for the domain name of the database you would like to locate.

5. Click the domain name of the database you would like to locate.

You will be redirected to another page where you will see the Databases icon.

5. Click the Databases icon.

How to locate Databases or phpMyAdmin at the PLESK Control Panel

You will be redirected to another page and you will see the Database name.

6. Click the Database name.

You will be redirected to another page and you will see the DB WebAdmin.

7. Click the DB WebAdmin icon.

And you will be redirected to the MySQL and phpMyAdmin page.

The page might be a pop-up window.

If you do not see the MySQL and phpMyadmin page, make sure that pop-up windows are not blocked.

8. Unblock the Pop-Up Windows.

9. Click the DB WebAdmin icon again.

And you will be redirected to the MySQL and phpMyAdmin page.

If you will be required to login…

10. Enter your database username at the Name field.

11. Enter your database password at the Password field.

12. Click Log in button.

And you will be redirected to the MySQL and phpMyAdmin page.

You are now at the MySQL and phpMyAdmin page.

Warning:

Do not do anything at the phpMyAdmin unless you know what you are doing.

Take note of all the icons especially the delete icon all the time.

One mistake and your database might be gone in just one click.

To see your database…

13. Click Databases, then Database name.

That’s it!

Remember to block the pop-up windows later if you want it that way once you are finished looking at your database at the phpMyAdmin.

Also, now that you know the link to the phpMyAdmin, please bookmark it.

Sometimes, you do not have to login at the Control Panel to access the phpMyAdmin.

You can go directly to the phpMyAdmin.

Just enter your database username and database password to access your database.

How to locate MySQL Databases or phpMyAdmin at the Control Panel

A lot of you have been blogging and writing for quite some time now but you have not saved any of your Databases.

You have no idea how to save your Databases because you have no idea where to locate your MySQL Databases.

I will try to give you some ideas on how to locate your MySQL Databases at the Control Panel.

I said I will try and wrote “ideas” because I do not know what Control Panel you are using.

I do not know if we have the same specifications even if we use the same Control Panel.

Nevertheless, whether the Control Panels are different from each other, you can still make use of the information to locate your MySQL Databases or phpMyAdmin.

I will not write yet on this blog entry the details on how to locate your MySQL Databases or phpMyadmin but in the next few days.

It will be a series then as I will write about it per Control Panel.

I have experiences using Dreamhost’s own Control Panel.

I have experiences using Yahoo’s own Control Panel.

I have experiences with Plesk Control Panel.

I have experiences with H-SPHERE Control Panel.

I used to have experiences with CPanel Control Panel but have not been using it for quite some time now.

If the Control Panel was not mentioned here, please write me your request using the comments section below.

I will try to write about the other Control Panels too if I can.