• Resolved ryounes

    (@ryounes)


    I am setting up a fresh install of WordPress 3.3.1 starting from an empty database. I successfully ran /wp-admin/install.php and the database tables were created. However, when I try to log in, I get an “Error establishing database connection” message on a plain blank page.Navigating to /wp-admin/ I get the following more detailed message:

    ————————————–
    Error establishing database connection

    If your site does not display, please contact the owner of this network. If you are the owner of this network please check that MySQL is running properly and all tables are error free.

    Could not find site healthitplan.local. Searched for table wp_blogs in database wpmu_healthitplan. Is that right?

    What do I do now? Read the bug report page. Some of the guidelines there may help you figure out what went wrong. If you’re still stuck with this message, then check that your database contains the following tables:

    wp_users
    wp_usermeta
    wp_blogs
    wp_signups
    wp_site
    wp_sitemeta
    wp_registration_log
    wp_blog_versions

    ————————————–

    These tables are all present in the database. However, there are no rows in the wp_site table; I don’t know if that’s a problem or not.

    This is a local multi-site installation. I have another WordPress site (3.2.1) running locally with an identical wp-config.php (other than the site name and database name), so there can’t be any problem with the db user.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ryounes

    (@ryounes)

    Problem solved: somewhere there was a problem with the multisite option. I installed from scratch without the multisite option and everything was fine.

    you absolutely must install single WP first and then enable multisite. You cannot put the multisite rules in the config file and then install.

    Thread Starter ryounes

    (@ryounes)

    Thank you. I realized that after I successfully installed the single site version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error establishing database connection on new 3.3.1 installation’ is closed to new replies.