phpMyAdmin Tutorial (Video Tutorial)

If you have an established website with lots of content, one day you may need to make some global updates to the data in your WordPress database tables. You might be lucky and a particular WordPress plugin may have an admin panel so you can make the required changes, but usually the admin panel does not cater for the case when you need to make hundreds of similar updates to lots of fields. This phpMyAdmin tutorial will show you exactly how to use this tool to update values in a MySQL database in a WordPress website.

The Problem

WordPress or a WordPress plugin does not have a nice GUI so it’s impossible to easily make some global changes to the data in your WordPress database. e.g. This can be a big problem if you need to increase all the prices in your online store.

The Solution

WordPress uses the MySQL database and one of the benefits of MySQL is that you can easily export or import data into any MySQL database table (or even the entire database). You might not know that there is a great tool called phpMyAdmin that you can use to do all the exporting and importing of data. You can access phpMyAdmin from your cPanel (most hosting providers offer cPanel with your hosting account for free)..

For example, you might need to:

  • Export all your product details from a particular WordPress plugin to a CSV file.
  • Increase all the prices in your eCommerce store by 10%.
  • Modify links globally across the entire database.
  • Update email addresses globally across the entire database.
  • and so on…

Video Tutorial

It is extremely easy to use phpMyAdmin, so I created this tutorial that shows you how to use the phpMyAdmin tool. Once you learn how to use this tool you will be able to make all sorts of changes to your data quite easily.

Like the quality of the screencast? I use the Screenflow app for it!

Tutorial Details

For the tutorial, I setup a scenario where I want to increase all the product prices in my eCommerce store by 10%. In the demo site I’m using the WP eStore plugin from Tips And Tricks HQ.

In this tutorial I will show you how to:

  • Make backups of your database so you will be fine in case you need to reload the original data back into the database.
  • Export all the data from the relevant database table into a text file.
  • Manipulate the data in the text file.
  • Import the modified text file data back into the database.

Summary

Don’t be intimidated by phpMyAdmin. If you take the proper precautions and backup your database first, no matter what happens, you can just reload the old database backup.

Questions / Problems?

Add your questions to the comments below and I’ll help you.

Kirk is a software / web developer & business consultant. He has been doing online marketing and product development for the last eight years, and been an entrepreneur for the last five. BlogWebDesigner was created to help Internet Marketers sell more stuff online.
Posted in Tutorials, WordPressTagged , , , ,  |  Leave a comment

Leave a reply