Change is good but it can cause panic

by seosurvivor on August 19, 2008

PanicI’m glad I was able to break the silence before the one month mark. If you’ve been here before, you will notice that the SEO Survivor website has been remodeled. A little face lift if you will :) . This new design is clean and goes with my theme. I also changed my avatar a little bit and incorporated it into the header of the site, so that’s pretty cool!

I thought I would share my experience of going through this upgrade as it was truly a  learning experience. It all started with me downloading the latest version of Wordpress and installing it. Once the package was downloaded, unpacked and ready to go, I did what every sensible webmaster would, a back up. I backed up the site files and the database. After all of those cautionary steps, I went for the meaty stuff and started uploading the files. That’s when the S#1T hit the fan!

I did the usual database upgrade and tried to log in. No access. Puzzled I tried again, and again, and again, and still no access. So I went to my “Forgot Password” tool over and over and over again, and still nothing. So I started to sweat cold a bit and rolled up my sleeves to get inside my database and reset the password from there.

Now I know this isn’t new information, and it is available through the Wordpress support files, but I thought I would share it here too, just to provide another place to find this important information. I opted for phpMyAdmin for my database, so these instructions will cover those steps.

Before going into your phpMyAdmin, make sure the problem isn’t coming from your wp-config.php file. It’s extremely important that this file is 100% clean. No extra spaces in the beginning nor at the end, and make sure that the database username is correct, as well as the password. These are probably different than the ones we’re trying to reset since they are the logins for the database.

disclaimer: phpMyAdmin could screw things up even further, so don’t go in there if you’re not confident, or ready for the possibility to screw things up even further as stated before :)

  • The first thing to do is to log into your phpMyAdmin account.
  • You will see a list of databases, click on your Wordpress database.

Resetting Wordpress password through phpMyAdmin #1

  • The tables of your database will display, if they don’t, click on Structure.
  • Find wp_users.
  • Click on the icon for browse or structure.

wp_users

  • You will be taken to a screen that lists the fields within the wp_users table.

wp_users table

  • Find user_login and click on browse. Now look for the ID number associated with this login. Write it down somewhere, or remember it.
  • Go back to the wp_users table.
  • Find the user_pass field and browse to find the ID number associated with this login.
  • Click edit.
  • You will see a long list of letters and numbers next to the ID number.
  • Select that mumbo jumbo and delete it.

user_pass field

  • Type in your new password.
  • After typing your pass, go to the dropdown menu and select MD5.
  • Make sure you have the correct password, also make sure MD5 is in the box.
  • Click on the Go button, it’s on the bottom right.

MD5 encryption

  • If this didn’t do it for you, make sure you’ve followed all of these instructions correctly, including the config.php instructions above.

So I hope you didn’t need these instructions, but if you did I’m sure they came in handy. Please check the help page from Wordpress regarding resetting passwords for more information as the stuff I’m sharing with you here was learned from there.

Thank you for reading and make sure to comment if you have anything to add or share.

Share and Enjoy:
  • Sphinn
  • StumbleUpon
  • Google Bookmarks
  • Digg
  • Propeller
  • Mixx
  • Reddit
  • Bumpzee
  • Facebook
  • del.icio.us
  • Technorati

{ 7 comments… read them below or add one }

hifisamurai August 20, 2008 at 8:49 pm

There must be something about the new Wordpress, I had a very similar challenge. Let me tell you cold beads of sweat was about right. Good to hear that you got your self out of that messy pie hole.

TigerTom: Personal LoanShark September 3, 2008 at 12:02 pm

Try ‘Simple PHP Blog’. No MySQL needed. I get tired of upgrading WP all the time.

Here’s another tip:

Export your database in MySQL323 format to ensure backward compatibility with other webhosts.

Sebastien September 12, 2008 at 9:49 am

That’s why I didn’t upgrade to the latest version of Wordpress, which I think doesn’t bring much anyways. Well, I guess it depends what version you were on before. I have the latest Wordpress on another blog and I find it very buggy and not compatible with many pluggins. Just my 2 Francs..

Otherwise, I really like the new template.

Crick September 19, 2008 at 12:55 am

Hi,
Nice post! There must be something about the new Wordpress, I had a very similar challenge. That’s why I didn’t upgrade to the latest version of Wordpress,

Chelsa October 6, 2008 at 11:14 pm

The article is good. Some new features may be included in the new version of word press. It might be better then the last one.

Ryan January 8, 2009 at 3:26 pm

Thanks for this. It fixed the issue for me.

Any thoughts on what causes it? Most of what I’ve seen is from people upgrading, but I hadn’t upgraded this particular blog recently.

seosurvivor January 8, 2009 at 4:16 pm

@Ryan I think that most of time problems occur because the theme used isn’t prepared for the Wordpress update. Typically that’s not a problem, but when a major update rolls out it’s always best to make sure your theme is compatible. I’ve learned my lesson and now I test it in a separate environment first.

Leave a Comment

Previous post:

Next post: