• I think i’ve gone through all of the suggested steps for setting up multi site. I’ve added a site with a user admin but when the directory is opened in the web browser I get this message “Error establishing a database connection”.

    Do I need to install wordpress in my new directory?

Viewing 7 replies - 1 through 7 (of 7 total)
  • No, you do not. It means it can’t find the second site in the db.

    The db user needs ALL permissions on the db. Look in the db and see if it created tables like wp_2_posts. If not, that’s why.

    Thread Starter slawrenson

    (@slawrenson)

    ok, great. How do I check the db?

    Thread Starter slawrenson

    (@slawrenson)

    could it have anything to do with Step 3 on the Network Setup?

    Add the following to your .htaccess file in ……., replacing other WordPress rules:

    I didn’t know what “replacing other WordPress rules” meant so I just deleted everything that was there and pasted the new code in.

    I didn’t know what “replacing other WordPress rules” meant so I just deleted everything that was there and pasted the new code in.

    That’s exaclty what that means.,

    And no, the htacess rules don’t have a thing to do with tables getting created in the db. It’s two different things.

    Look at your webhost control panel. Is there an icon for phpmyadmin? Click it.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Use phpMyAdmin or something to go in. Your host should have directions.

    Replace means … replace ?? You know what that word meant. The WordPress ‘rules’ are the lines that start with # WordPress Begins – You did the right thing, and that wouldn’t affect the database even if you had not.

    Thread Starter slawrenson

    (@slawrenson)

    ok. Found phpmyadmin, clicked it. No wp_2_posts

    whats the fix?

    (thats for helping me!!!!)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Check database permissions. Make sure the ID you’re using to access it (it’s the one listed as DB_USER in your wp-config.php file) has FULL permissions. If you don’t know where to look for that, do ask your host ?? It’s a little different on each server.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Database connection error’ is closed to new replies.