Which is currently not correct, and is causing the DB connection They contain your MySQL database information, Sub-folder) and find your defines (they should be just after commented Open up your wp-config.php file (in your main WordPress directory, not a Okay, so let’s tell WordPress how to connect to this new database. Serve up pages from (and to give your local WordPress installationĪccess to the new database). To update your WAMP WordPress database to let it know the new path to You’ve downloaded your website files, you’ve installed your database If you see the above error, then everything is going according to plan. Go back to WAMP’s localhost start page and select your WordPress.If you followed the WordPress database export, then quickly create aĭatabase with the appropriate name (same as your online database) Haven’t selected “Add DROP DATABASE”, if this is your first import. Start WAMP server running and go to the main index page.Instance of WordPress running on a WAMP server. Now you’re ready to connect this database backup with your local With your WordPress install, as well as a .sql file containing your At this point, you should have all files associated Once you’ve backed up your online WordPress database, it’s time to make (because the database doesn’t exist locally, so there is nothing to Note: Don’t select the Add DROP DATABASE if this is your first import You’ve made locally, but I’m doing one-way synchronization (as I do all The image below, I just do a full database export, with the option toĭrop the database if it exists. Tables, I like to go with the re-create from scratch option… As shown in Simply click on “phpMyAdmin” and you’re ready to follow the WordPressĪlternatively, instead of selecting my database and then exporting the Your cPanel, click on “MySQL Databases” which will get you to a page To get to phpMyAdmin in Dreamhost (my hosting provider), go to I typically follow the phpMyAdmin route, as that’s what I also use in You can simply follow the WordPress instructions located The first thing you will need to do is backup your database. In my case, I installed it to c: and will use that for the Lots of information about this online and it’s pretty straightforwardĪnyways). I’m going to start by assuming you’ve already installed WAMP (there is Off the top of my head - have them handy. Know all my WordPress, FTP, and phpMyAdmin usernames and passwords Usernames and passwords: This might seem obvious, but I didn’t.But, something as simple as Notepad will work for this PHP Editor: As I said, I use Expression Web for all my webĭevelopment.Someīuilt-in ftp.exe Update: Due to Microsoftīasically giving up on parts of Expression Studio, I’ve moved most Happens to have a built-in FTP client (with synchronizationįeatures), so I will use that. FTP Client: I use Expression Web (part of Expressionįor most web development, as it has some nifty features.Post’s title indicates), but you could also try any set of toolsĮtc… People seem to have had more success with XAMPP, but I have So I will duplicate that information here: What you’ll need to go from WordPress to WAMP The initial setup is identical to my earlier post about file transfer, In this post, I will discuss the slightly trickier act of I talked about migrating your server files from WordPress to WAMP viaįTP.
0 Comments
Leave a Reply. |