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 trialJesus Mendoza
23,289 PointsHow to migrate WordPress database?
I made my WordPress site locally and now I want to migrate my database to a web host, how do I do that?
3 Answers
Jacobus Hindson
14,429 PointsHi Jesus,
Wordpress offer a great howto in the codex locate here.
Rich Bagley
25,869 PointsHi Jesus,
Following on from the Codex link that Jacobus has mentioned there is also a video on this in the Local WordPress Development course called Migrating WordPress from Local to Live Server.
Hope that helps :)
-Rich
Jesus Mendoza
23,289 PointsThanks mate. I already migrated it but when I try to enter to my website it changes the url to myurl:8080, any idea of how to fix that?
David Durant
4,387 PointsHey Rich,
i have been following the wordpress track and when i get to the "Migrating WP from Local" i get to the point where i edit the config.php and it tells me i have an "Error establishing a database connection"
did i miss something?
Jacobus Hindson
14,429 PointsIt sounds like there is a redirect in action, ensure that your WordPress site location is set correct in settings, have a look at your .htaccess file on your Live Server.
Perhaps a link to the live site would be useful also.
Jesus Mendoza
23,289 PointsJesus Mendoza
23,289 PointsThanks mate. I already migrated it but when I try to enter to my website it changes the url to myurl:8080, any idea of how to fix that?