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


Patrick Tapsoba
Patrick Tapsoba
668 Points

Is there a way to reset my database connections and start friesh??I get the error "error connecting to the database"

I followed the steps from the videos and tried to install manually wordpress. Establishing the connection with Filezilla, I think i may have entered the wrong credentials at first. So i deleted the databases I had created in the control panel. Now i feel like my website is still set to the first database I had created. So is there a way to delete all these settings and start the install??Please help

1 Answer

Hi Patrick,

If you would like to change what you have previously entered to point to a different database you can do so via wp_config.php. The Codex entry will give sample code.

If you aren't sure of the details and would like to start over you can simply remove the files and repeat the steps with a new install. Just make sure you are 100% sure you have any code that you need backed up beforehand.

Hope that helps