I am updating an existing wordpress website for a client and would like to work on it on my local server, but can’t seem to get the database to import correctly. I am using MAMP, with phpMyAdmin.
After creating a new folder with a new install of wordpress on my computer, I imported the .sql.gz database backup from the live site into the local database (via phpMyAdmin). I used the same name for the database as on the live site. Got the message: “Import has been successfully finished, 278 queries executed.” When I go to the website, or the WP dashboard, nothing seemed to import. None of the pages, posts, menus, or anything. I checked the wp-config.php, and it is referring to the correct database. So what am I doing wrong? How can I get all the content and settings to show?
You need to update some information …
set wp_options table id 1, 34 change it your local server name…
and then goto your admin dashboard … deactivate the plugins and then activate them to work on local server.
hope this helps…