• I just migrated my site from shared-hosting to cloud server. I want to use the old site as test site. I took the following steps:
    1. Changed config.php: Domain current site to new domain name
    2. Changed database options: Site URL & home to new domain.
    3. New domain sub-directory = old site directory

    Trying to launch test site get error: “error establishing database connection”.

    I then called hosting provider and they checked and they said everything looked and checked out fine individually but could not figure out why the database would not connect. They believe this may be a multi-site issue. What did we miss?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you create a new database for the test site or did you copy your existing database?

    Also, have you checked that you can log in manually (using a tool like phpMyAdmin, for example) with the database login credentials configured in wp-config.php of the test site?

    Are you actually using the multisite feature, or do you just have multiple installs?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite- Error establishing database connection’ is closed to new replies.