8 Handy WordPress MySQL Hacks
      Lifetime Membership

      Lifetime MembershipPurchase a Lifetime Membership for $39.95 and get instant access to the WordPress 101 video tutorials, as well as all future videos!
      Yes, sign me up!

      Login to Access Content
      Put our videos on your site!

      WordPress Tutorial Videos on your own site!

      We Recommend…

      Wordpress Hosting by pagely

      Mad Mimi Email Marketing

      Gravity Forms Plugin for WordPress

      WooThemes for WordPress

      Digging Into WordPress

      1-Click WordPress Installation and Hosting

      Gorilla Themes for WordPress

      Organic Themes for WordPress

      Premium Wordpress Themes by Templatic

      Graph Paper Press WordPress Themes

You may or may not know this, but your WordPress blog is driven by a MySQL database, which contains the blog’s posts, settings, comments and much more. Over the past decade or so, MySQL has become the most popular database engine on the Web.

As fantastic as WordPress is, there are times when you don’t have any other choice than to execute SQL commands in phpMyAdmin or directly to the database via SSH. Jean-Baptiste Jung has written an incredibly useful article for Smashing Magazine (a great source for WordPress tips, BTW), outlining 8 useful MySQL hacks for WordPress. Each section of this post presents a problem, suggests a solution and provides an explanation to help you understand the solution.

Covered in this article…

  1. Creating a Backup of Your Database
  2. Batch Delete Post Revisions
  3. Erase 5000 Spam Comments in a Second
  4. Change the Post Attribution
  5. Manually Reset Your Password
  6. Change Your WordPress Domain Name
  7. Display the Number of SQL Queries on Your Blog
  8. Restore Your WordPress Database

Click here to read the full article on Smashing Magazine.

Comments? Questions?

There are no comments just yet. Be the first!

Leave a comment or ask a question...