Help with Move from Live to MAMP (4 posts)

  1. dpbklyn
    Posted 5 years ago #

    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,


  2. dpbklyn
    Posted 5 years ago #


  3. jtlowe22
    Posted 5 years ago #

    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.

  4. dpbklyn
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic