Support » Fixing WordPress » Help with Move from Live to MAMP

  • Hello All and Thank you in advance!

    I am trying to move my live WP site to a local site on my Mac using MAMP. I have backed up the database, and downloaded my entire WP site.

    I then changed the following from my URL to localhost in the db backup:

    INSERT INTO<code>wp_options</code> VALUES (2, 0, 'siteurl', 'http://localhost:8888/pts/', 'yes');
    INSERT INTO <code>wp_options</code> VALUES (38, 0, 'home', 'http://localhost:8888/pts/', 'yes');

    I also altered the wp-config file to:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    ans all I get when i go to localhost:8888/pts is a white page with “Error establishing a database connection” on it.

    Any and all help is appreciated.

    Thank you,


Viewing 3 replies - 1 through 3 (of 3 total)
  • Anyone?

    Make sure you have MYSQL running in MAMP. Did you import your database into the local MAMP mysql database?

    Make sure you have database name, login, and password are correct in wp-config. Maybe your local database has a different database name and login credentials.

    great, thank you for getting back to me! I will try this and report back.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help with Move from Live to MAMP’ is closed to new replies.