treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Forbidden - You don't have permission to access /phpmyadmin/

  • Recently, i upgraded my WAMP from WampServer2.0f to WampServer2.0g.

    I uninstalled WampServer2.0f and then only installed WampServer2.0g.

    I can access http://localhost or http://127.0.0.1/ and i can see under my tools section that there is a link to phpMyadmin which points to http://127.0.0.1/phpmyadmin/

    I get the error: Forbidden - You don't have permission to access /phpmyadmin/ on this server whenever i try to access phpMyadmin.

    Additional Info:

    My WAMP icon is white.

    I tried Restarting all services but nothing helped.

    I have a folder called phpmyadmin3.1.3 which is located inside C:\wamp\apps.

    The version of MySQL on my localhost is 5.1.32 (How do i know this? I clicked on my WAMP icon, pointed to MySQL --> Version and it displayed a checked mark on 5.1.32).

    Did some homework, and people say that there may be a problem with the phpmyadmin.conf file. It's located in my C:\wamp\alias

    Can that file be edited phpmyadmin.conf?

    How do i solve this?

    I havent tried uninstalling and reinstalling WAMP. I'll do that as a last resort (and i don't know if that will fix things).

    Thank you all for reading this.
  • I would uninstall and reinstall now :)
  • Uninstalled it and reinstalled and it didn't work.

    I tried something else (Thank god i had the habit of backing up my wordpress databases regularly)

    I uninstalled WAMP again. Went into the C: drive and deleted the wamp folder along with all its contents (i backed up sites i developed in the www folder).

    After deleting this folder i reinstalled WAMP and it worked.

    I've always wondered where is all my wordpress databases stored? on my machine?

    Thank you for helping.
  • It sounds like whatever password you had previously was overwritten by the new install, but the DB you were trying to connect to still required it.

    Unfortunately, that's about as far as my knowledge goes.
  • When you uninstall, the directory is still kept, just the entry is removed. When you uninstall, delete your wamp directory, then reinstall.