• Hi all,

    I am reverting a Multisite enabled install back to a single install and following the directions outlined here.

    Andrea_r says:

    Delete any extra sites you may have created. Move the content and users to the main blog or wherever you desire.

    Remove the lines we added in the wp-config.php file.

    Restore the .htaccess file to the default. One the multisite lines are gone from the config file, you can usually restore these by resaving the permalinks.

    Drop these global tables in the database:
    wp_blogs
    wp_blog_versions
    wp_registration_log
    wp_signups
    wp_site
    wp_sitemeta

    I’ve done all of this and the last step I do is to remove the Multisite lines from wp-config.php

    As soon as I do this, I get the dreaded Error Establishing Database Connection.

    As soon as I put them back, I’m good to go.

    Can someone point me in the right direction as to what I can look for and try?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve done the same recently, all went well.
    Perhaps you deleted too much in the wp-config?

    I deleted all content after:
    define(‘WP_DEBUG’, false);

    and before:
    /* That’s all, stop editing! Happy blogging. */

    In the .htaccess, you replaced the content with this?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    GL!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you want to post your wp-config.php up in pastebin.com, make sure you delete your passwords, hashes and salts ?? We can take a look.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reverting Multisite to Single – Error Establishing DB Connection’ is closed to new replies.