Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Installing WordPress Locally

Xavier Vivas
Xavier Vivas
12,810 Points

Cannot install WordPress Locally... pls help

Hi developers, After following the steps shown on the tutorial, when I get to the WordPress installation via phpMyAdmin I get this message: "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now.", then when clicking on "installing now", it shows a message like "You appear to have already installed WordPress. To reinstall please clear your old database tables first.", then finally, when I'm about to login into my WordPress account I get: "You do not have sufficient permissions to access this page."

Any help is appreciated. Tks!

2 Answers

Happy Threehouse
Happy Threehouse
8,171 Points

On you MAMP, go to phpMyAdmin Tab on top > and then go to users tab > click the hyper link of "Add user" • Enter your "Login Information" • at "Database for user" choose "Create database with same name and grant all privileges" • Check all for "Global privileges"

and install WP with this database.

Hope it help ; )

Xavier Vivas
Xavier Vivas
12,810 Points

Thanks for the response. However, it did not let me rename the same user, so I deleted it and created again one with the same info, then when I clicked on the localhost link, Wordpress showed the same message "you don't have permission...". ;(