Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

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

-Rich