Title: Cannot log in after upgrading
Last modified: August 18, 2016

---

# Cannot log in after upgrading

 *  Resolved [mortenoc](https://wordpress.org/support/users/mortenoc/)
 * (@mortenoc)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/cannot-log-in-after-upgrading/)
 * After upgrading my wordpress to v. 2.2.1 I’am unable to log on to the admin pages.
   
   Even though I have changed the passwords in the database via phpMyAdmin, it still
   doesn’t work. When I try try to log on to ../blog/wp-login.php I get the following
   message: “You do not have sufficient permissions to access this page.” and nothing
   else.
 * Any suggestions?
 * Regards
    Mortenoc

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/cannot-log-in-after-upgrading/#post-592179)
 * Just for your own clarification and to help you search for solutions — what you
   are seeing is NOT the ability to login.
 * You are logging on fine. Its not a password/login issue.
 * This,
 * “You do not have sufficient permissions to access this page.”
 * is your problem.
 * The message you are seeing is ONLY triggered after a successful login.
 * At least knowing that, you can stop trying to fix it by changing your password.
 *  Thread Starter [mortenoc](https://wordpress.org/support/users/mortenoc/)
 * (@mortenoc)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/cannot-log-in-after-upgrading/#post-592336)
 * No, it was not a user/password issue. But I found an explination – and more important
   a solution – here:
 * [http://markjaquith.wordpress.com/2006/03/28/wordpress-error-you-do-not-have-sufficient-permissions-to-access-this-page/](http://markjaquith.wordpress.com/2006/03/28/wordpress-error-you-do-not-have-sufficient-permissions-to-access-this-page/)
 * Note that the force-upgrade.php is to be run after uploading the files
    of the
   new version.
 * regards
    Mortenoc

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot log in after upgrading’ is closed to new replies.

## Tags

 * [log-in](https://wordpress.org/support/topic-tag/log-in/)
 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [mortenoc](https://wordpress.org/support/users/mortenoc/)
 * Last activity: [18 years, 11 months ago](https://wordpress.org/support/topic/cannot-log-in-after-upgrading/#post-592336)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
