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 Migrating WordPress from Local to Live Server

Alex Evans
Alex Evans
2,961 Points

'Error executing database query' - solved

I'm finding I just get an error executing database query whenever I go to my live site. I've gone through this several times, starting from scratch, but it still seems not to work.

Another thing I'm wondering is: do I need to bring over the folder which contains all of the wordpress files and put it in the public html folder? or just the files themselves?

Apologies if I'm not clear enough here, it's the first time I've asked a question and not entirely sure what information would be relevant.


Sorry folks - also needed to change the DB_password define to match with new database password. Phew!

/** MySQL database password */
define('DB_PASSWORD', '**********');